Information générale
Catégorie:
Codage, syntaxe et commandes
>Hi
>
>I am wanting to enter a barcode which can be up to 20 digits long.
>
>When I enter this into a Numeric(20,0) field the last four digits of my 20 digits get converted to 0's
>
>eg. 12345678901234567890
>becomes 12345678901234560000
>
>Is this a bug or is there some limitation I am unaware of.
>
>Also, is there a way to turn up the sound for the "you have replies" message?
>
>Regards
>Geoff Scott
Geoff --
OTTOMH, I believe you're running into a limitation with the internal representation of numbers in VFP. I thought it was somewhere's around 10^16-18.
I don't think any numeric representation will give you the resolution to the single digit that you need with values at 10^20. Can you use a character value?
Jay
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement