Not sure, but seems like NUMERICDECIMALSYMBOL can't be set with IupSetA
ttributeId. 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 
> 
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]>>  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]
> > 
https://lists.sourceforge.net/lists/listinfo/iup-users
> > 

> > 
> 

> 

> 

> 

> 

> 




> ------------------------------------------------------------------------------
> 

> _______________________________________________
> Iup-users mailing list
> 
[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