R: Visual representation of Number floating dp

Rocco Ventura [Kunvi] r.ventura at kunvi.it
Fri May 15 10:19:32 EDT 2020


Try using "Masked Entry field"

Bye

Rocco 

______________________________________
Distinti saluti. Best regards.

Rocco Dr. Ventura
WMS Analist and Software Developer

KUNVI srl - Experiences Holding - www.kunvi.it
Email: r.ventura at kunvi.it - Mobile: +39 348 5186051

-----Messaggio originale-----
Da: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> Per conto di
Alessandro Pigozzo
Inviato: venerdì 15 maggio 2020 15:46
A: omnisdev-en at lists.omnis-dev.com
Oggetto: O$ : Visual representation of Number floating dp

Hi all.
In my window, I have a variable "iv_quantity" defined as "Number floating
dp", and an Entry field with $dataname set as "iv_quantity", to show the
content of the variable itself.
If the value of "iv_quantity" is 0,15, the Entry field shows "0,15".
If the value of "iv_quantity" is -0,15, the Entry field shows "-0,15".
BUT
If the value of "iv_quantity" is 0,015, the Entry field shows ",015".
If the value of "iv_quantity" is -0,015, the Entry field shows "-,015".
(in Italy, the "decimal point" is comma) Substantially, when the first
decimal number is 0 and the integer part is 0, the integer part is not
shown.
Tried in every possible version of Omnis Studio (3,4,5,6,8,10).
Is there anyone who can explain to me ? Maybe I'm missing something...
Thanks in advance.
Alessandro Pigozzo
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com Start a new
message -> mailto:omnisdev-en at lists.omnis-dev.com 


-- 
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus




More information about the omnisdev-en mailing list