Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric fields
Message
 
To
25/08/1997 06:30:48
Ralf Zimmer
N:media Datapoolsystems Gmbh
Duesseldorf, Germany
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00046637
Message ID:
00046848
Views:
25
>Hello.
>
>I have got a numeric field in a form. Input mask is 9999999.99.
>the related field in the table has got the following format:
>numeric 7 decimal 2
>
>when i trie to store from the form field the value is rounded.
>e.g. Form: 1111111.11 Table 1111111.00
>
>
>Why???? Is this a bug of foxpro?
>
>Thanx Ralf
Ralf,

No it is not a bug in foxpro it is a misunderstanding on your part. Numeric fields are sized by giving the total lenght (including the decimal pint and any +- sign) and then the precision. So;

9999999.99

is 10,2

7,2
is 9999.99
Previous
Reply
Map
View

Click here to load this message in the networking platform