Hi,

Thanks for the anwser, but unfortunately the result is the same.

Comma separator continue ignored.


Best,


Ranier Vilela

________________________________
De: Germán Arias <[email protected]>
Enviado: sábado, 20 de agosto de 2016 18:22
Para: IUP discussion list.
Assunto: Re: [Iup-users] How display numeric values with comma and 2 decimals?

Not sure, but seems like NUMERICDECIMALSYMBOL can't be set with 
IupSetAttributeId. Try with:

IupSetAttribute(mat, "NUMERICDECIMALSYMBOL", ",")

Germán

El sáb, 20-08-2016 a las 13:12 +0000, Ranier VF escribió:

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]<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

Reply via email to