Found an issue in SpiderBasic ? Please report it here !
falsam
 
Posts: 237
Joined: Mon May 05, 2014 9:49 pm
Location: France

String to integer

by falsam Mon Jan 29, 2018 6:06 pm

■ Version 2.20
Code: Select all
Value.s = "11677721500000255"

Debug Value
Debug Val(Value)
Debug wrote:11677721500000255
11677721500000256
With PureBasic no bug
➽ Windows 10 - JDK 1.8 - SB 2.20 - Android 5.5
Mood ☀️
http://falsam.com

Sorry for my poor english
firace
 
Posts: 11
Joined: Tue Jan 02, 2018 6:59 pm

Re: String to integer

by firace Wed Jan 31, 2018 7:48 pm

Confirmed here.
User avatar
T4r4ntul4
 
Posts: 107
Joined: Wed May 21, 2014 1:57 pm
Location: Netherlands

Re: String to integer

by T4r4ntul4 Wed Jan 31, 2018 11:16 pm

Apparently 16 numbers is the max, try anything after the 16th number and it will be a zero.
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 1 guest