Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
I have a table with the fields:
codigo c(10),designacao c(40),value n(6,2),num_of_showed_decimal_places i(4)
I want to condicionaly show in the report the value with zero,one or two decimal place acording with the(num_of_showed_decimal_places)
1º If the value stored in the table is 10.22 and the num_of_showed_decimal_places=2 The report show 10.22
2º If the value stored in the table is 10.20 and the num_of_showed_decimal_places=1 The report show 10.2
3º If the value stored in the table is 10.20 and the num_of_showed_decimal_places=0 The report show 10
Sorry for my bad English.
Thanks in advance.
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