Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: CAST it is not invariant regarding SET POINT
Message
From
07/06/2004 18:09:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
BUG: CAST it is not invariant regarding SET POINT
Miscellaneous
Thread ID:
00910938
Message ID:
00910938
Views:
44
Repro code:
CLEAR
SET POINT TO
? 'decimal point',SET("Point")
? NTOM(VAL(TRANS(1.4000)))

? CAST(CAST(1.4000 AS C(20)) AS Y)


SET POINT TO ','

? 'decimal point',SET("Point")
? NTOM(VAL(TRANS(1.4000)))  && VFP8 conversion

? CAST(CAST(1.4000 AS C(20)) AS Y),'   aspected 1.4000, that is a CAST must to be invariant respect to Decimal point'
Fabio
Next
Reply
Map
View

Click here to load this message in the networking platform