Hi,
IupSetAttributeId(mat, "NUMERICQUANTITY", 2, "None");
IupSetAttributeId(mat, "NUMERICDECIMALSYMBOL", 2, ",");
IupSetIntId(mat, "NUMERICFORMATPRECISION", 2, 2);
With IupMatrixEx, works to precision format, but not to
comma separator.
Thanks.
Ranier Vilela
________________________________
De: Antonio Scuri <[email protected]>
Enviado: quinta-feira, 18 de agosto de 2016 20:40
Para: IUP discussion list.
Assunto: Re: [Iup-users] How display numeric values with comma and 2 decimals?
Take a look at IupMatrixEx. There are several interesting options there.
Best,
Scuri
On Thu, Aug 18, 2016 at 10:38 AM, Ranier VF
<[email protected]<mailto:[email protected]>> wrote:
Hi,
How can display values numeric with IupMatrix:
Example:
Value = 18.98
Storing in matrix:
IupSetDoubleId2(mat, "", i + 1, 2, 18.98);
How display: 18,98
With comma and 2 decimals?
Best regards,
Ranier
------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/iup-users
------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users