Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8507

Re: changed long function in PB 12.5.2.5583

$
0
0

The real issue is not that long ( "12.5.2.5583" ) returns 0 instead of 12525583 with regional setting of comma as decimal point. 

 

The issue would be if  long ( "125.255,83" ) didn't return 125255 with comma as decimal point.

 

For the regional setting of point as decimal point people:

long ( "125,255.83" ) should always return 125255

long (12,5,2,5583) should return 0 as isNumber (2,5,2,5583) returns FALSE, but it returns 12525583

 

Not sure about the RunTime error Arnd 


Viewing all articles
Browse latest Browse all 8507

Trending Articles