Page 1 of 1
Posted: Sun Mar 23, 2003 10:53 pm
by BackupUser
Restored from previous forum. Originally posted by effigy.
I am going buggy!!!
I am trying to get the Integer part of a number, for example,
temp.f=132.56
tempint.l=Int(temp)
Debug temp
Debug tempint
tempint is returning 1 when I am expecting 132
Am I doing something wrong?
Derek
P.S. I am using the latest version 3.61
Posted: Sun Mar 23, 2003 11:02 pm
by BackupUser
Restored from previous forum. Originally posted by Pupil.
Get the math update from
http://www.purebasic.com/update/
Posted: Sun Mar 23, 2003 11:25 pm
by BackupUser
Restored from previous forum. Originally posted by effigy.
Thank's that fixed the problem...
now on a sligthly different note...
How come the date() function doesn't go past 2037?
Derek
Posted: Mon Mar 24, 2003 12:46 am
by BackupUser
Restored from previous forum. Originally posted by freak.
The date is stored in the number of milliseconds that have passed since 1st january of 1970, and due to the date being stored in LONG values, that can only go up to 2037.
Guess we need a change to that somewhen in 2030 or so
Timo
Posted: Mon Mar 24, 2003 3:53 am
by BackupUser
Restored from previous forum. Originally posted by El_Choni.
Guess we need a change to that somewhen in 2030 or so
OH, NO!!
El_Choni