ENIGMA Development Environment
Home
About
Download
Wiki
Forums
EDC
Games
Tracker
Progress
Guest |
login
|
register
Commit to
enigma-dev
by
time-killer-games
: "
Add focus wait to Zenity/KDialog (#2198)"
(at 2021-03-28 22:54:56;
Click here to view
.)
ENIGMA Forums
>
Contributing to ENIGMA
>
Proposals
>
#RESOLVED# Div operator on script return value
Pages:
1
« previous
next »
Print
Author
Topic: #RESOLVED# Div operator on script return value (Read 3310 times)
polygone
Posted on:
January 25, 2011, 06:59:35 am
Location: England
Joined: Mar 2009
Posts: 794
Code: (EDL)
[Select]
45 div 90
The statement returns 0 correctly.
Code: (EDL)
[Select]
script() div 90
Where 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.
polygone
Reply #2 Posted on:
January 26, 2011, 07:06:41 am
Location: England
Joined: Mar 2009
Posts: 794
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.
Josh @ Dreamland
Reply #3 Posted on:
January 28, 2011, 12:35:15 am
Prince of all Goldfish
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950
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
« previous
next »
0