Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check for number of digits in a number
Message
De
26/12/2001 07:48:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00598086
Message ID:
00598128
Vues:
22
>>>Hi everyone,
>>>
>>>I've checked old messages, but didn't find a solution for this problem: I need to find out the number of digits in a number. Say, I have 12.3456000 - the number of digits should be seven. I don't see a simple solution, so may be you can advise?
>>>
>>>Thanks a lot in advance.
>>
>>? len(trans(12.345600000))
>>
>>Cetin
>
>Nice joke, thanks :)

Joke ? What were you trying to do ? Get its length or what ?
Shouldn't 12.345600 or 12.345600000000 or 99.99990000000 all return 7 ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform