Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check for number of digits in a number
Message
 
 
To
26/12/2001 09:33:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00598086
Message ID:
00598161
Views:
28
>No, under VFP6 SP5 it works the same - if you donot belive will send you screenshots.
>In the help of VFP7 there is nothing about transform() behaviour change...
>
>What version of VFP are you using?

VFP6.0 SP4

Here is an extract from Online Help on TRANSFORM (I went by Sergey's link, then typed transform in Search window):

Data Type Transformation Description
Character No transformation is performed.
Currency Transformation is determined by the settings specified in the Regional tab of the Options dialog box.
Date A DTOC( ) transformation is performed on the date.
DateTime A TTOC( ) transformation is performed on the date time.
Logical Logical true (.T.) and false (.F.) values are transformed to the character strings ".T." and ".F." respectively.
Numeric (includes Double, Float, or Integer data types) Trailing zeros are removed from the decimal portion of a numeric value. If the numeric value is a whole number, a decimal point is not included in the transformed value (for example, 4.0 is transformed to 4). If the numeric value is less than one but greater than negative one, zero is included before the decimal point (for example, .4 is transformed to 0.4).
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform