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
Int function problem?
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Pupil.
Get the math update from http://www.purebasic.com/update/
Get the math update from http://www.purebasic.com/update/
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm