Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert numeric field information into time information
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01526846
Message ID:
01526859
Vues:
55
J'aime (1)
>hi all,
>
>i have 9.5 and i want 09:30
>i have 6.75 and i want 06:45
>
>how to resolve my problem ?
>
>Thank in advance for help
>
>bernhart
? Dec2Hour(9.5)
? Dec2Hour(6.75)

FUNCTION Dec2Hour(tn)
  RETURN TRANSFORM(INT(tn), "@L 99") + ":" + TRANSFORM(tn%1 * 60 , "@L 99")
ENDFUNC
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform