PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Impression Décimale
Impression Décimale
Started by mjbouton, Sep., 14 2004 9:48 AM - 2 replies
Connect yourself…
mjbouton
#1
Posted on September, 14 2004 - 9:48 AM
Comment faire simple pour imprimer les décimales et la virgule que si elles
sont présentes ?
1,25 devient 1,25
2,00 devient 2
Report
0
0
jf.fayolle
#2
Posted on September, 14 2004 - 1:45 PM
aujourd'hui une question <impression de virgule ,pour un champ reel ou mnétaire> se rapproche de la tienne, mais la réponse t'interessera certainement.
A consulter dès parution
Dév bien
Report
0
0
api.comtat
#3
Posted on September, 14 2004 - 3:55 PM
Bonjour,
Essayez :
si partiedecimale(MonNombre)<>0 alors
Chaine=numeriqueverschaine(MonNombre,"12,2fS")
sinon
chaine=numeriqueverschaine(MonNombre,"12,0fS")
fin
SLTS
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WINDEV 26
WINDEV 2024
WINDEV 2024
WINDEV 2024
WINDEV 25
WEBDEV 2024
WEBDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WINDEV (earlier versions)
WEBDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Reports & Queries
Off-topic
Off-topic
Tools
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text