Floats and doubles are supposed to be able to provide this
functionality, tho I've had no luck in the actual usage of them, mine
always treats them as integers also and truncates any decimal value...
I've gotten into the habit of doing things like:

percent = (number1 * 100) / number2;

Richard Lindsey 

-----Original Message-----
From: Tristan M [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 10, 2004 11:04 AM
To: [email protected]
Subject: using decimals in ROM

is there any way to use decimals in ROM?  it seems to always round my 
values, but for some things it would be really nice to be able go to 2 
decimal places, is there a way?

_________________________________________________________________
MSN Premium includes powerful parental controls and get 2 months FREE*

http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU
=http://hotmail.com/enca&HL=Market_MSNIS_Taglines


-- 
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom

Reply via email to