Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Large numbers converted to string
Message
From
14/05/2002 16:48:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Large numbers converted to string
Miscellaneous
Thread ID:
00656496
Message ID:
00656496
Views:
52
Can someone explain me why when I convert a large number, such as 252423456784635, to a string that it is being converted such as 2.524E+15?

I use a simple code such as:
? INT(RAND()*10000000000000000000)
? STR(INT(RAND()*10000000000000000000))
The first one will print 252423456784635. But, the second one will pring 2.524E+15.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform