Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why 1/2000000=0 is true ? BUG ?
Message
De
01/09/2003 09:28:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
01/09/2003 09:22:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00824749
Message ID:
00825042
Vues:
20
For me, this hasn't caused a major problem. I seldom need this level of precision.

If it is a problem for you, you may want to switch to a strongly typed language (for instance, Delphi), which allows you - nay, forces you - to control the type of each and every variable. I think you will also have a wider variety of data types in some languages (I am not sure exactly what you get in Delphi): types like 1, 2, 4 or 8-bit integers, BCD, floating-point that has a somewhat greater precision (more significant digits) than what is available in VFP.

>Hilmar,
>
>Me it seems of living in an other planet.
>
>On SQL Server, Oracle ... the schema for
>- data type,
>- precision of data,
>- precision of result,
>- implicit conversion of numeric
>- the literal numerical values
>
>he is rigorous and coherent.
>
>On VFP every calculation has one its history,
>if use the fields I have a result
>if use the variable ones of it I have an other
>if use eval() I can have of an other
>if use the macro I can have an other
>...
>
>To me it seems a madness,
>perhaps but it has been a madness the day that I have chosen VFP like development enviroment.
>
>Fabio
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform