Pages: [1]
  Print  
Author Topic: #RESOLVED# Div operator on script return value  (Read 840 times)
Offline (Male) polygone
Posted on: January 25, 2011, 06:59:35 AM

Contributor
Location: England
Joined: Mar 2009
Posts: 803

View Profile
Code: (EDL) [Select]
45 div 90The statement returns 0 correctly.

Code: (EDL) [Select]
script() div 90Where script() returns 45, makes the statement return 0.5 incorrectly.


Tracker Reference:
http://enigma-dev.org/tracker/ticket.php?id=76
« Last Edit: March 05, 2011, 10:48:59 AM by polygone » Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Post made January 26, 2011, 06:16:40 AM was deleted at the author's request.
Offline (Male) polygone
Reply #2 Posted on: January 26, 2011, 07:06:41 AM

Contributor
Location: England
Joined: Mar 2009
Posts: 803

View Profile
Whatttt?

Looks like no response. Fine I'll use the stupid tracker, argh. Does that thing still get read though?
« Last Edit: January 26, 2011, 07:15:37 AM by polygone » Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Male) Josh @ Dreamland
Reply #3 Posted on: January 28, 2011, 12:35:15 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2934

View Profile Email
I've been thinking how I wanted to deal with DIV, and I guess the best option is just to cast both sides, which is messy.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: [1]
  Print