Page 1 of 1

INPUTMASK money Spain & Usa

Posted: Wed Dec 16, 2009 6:03 pm
by mustafa
Hola amigos
Planteo la siguiente pregunta:
Para presentar numericamente moneda, los decimales '.' tiene que ser ','
Solo puedo poner como mascara de NUMERIC INPUTMASK "9,999,999.99"
de esta forma el resultado seria ejemplo 1,725,457.25 € esta presentación
en España seria incorrecta pues se tiene que escribir 1.725.457,25 €

@ 340,212 TEXTBOX TEXT_1;
FIELD TEST->PRECIO_VEN ;
BACKCOLOR {180,200,255} ;
WIDTH 110 HEIGHT 19 ;
NUMERIC INPUTMASK "9,999,999.99 €"

Veo otro Post que creo que no tubo solucion
http://hmgforum.com/viewtopic.php?f=6&t ... TMASK#p283
Un saludo

Hello friends
I pose the following question:
To file numerically currency, decimals '. ' must be ','
I can only put as NUMERIC INPUTMASK mask "9,999,999.99"
this way the result would be this presentation example 1,725,457.25 €
in Spain would be incorrect since they have to write 1.725.457.25 €

@ 340.212 TextBox TEXT_1;
FIELD TEST-> PRECIO_VEN;
BACKCOLOR (180,200,255);
WIDTH 110 HEIGHT 19;
NUMERIC InputMask "9,999,999.99 €"

I see another post that I believe no solution tube
http://hmgforum.com/viewtopic.php?f=6&t ... =INPUTMASK # P283
A greeting
Mustafa

Re: INPUTMASK money Spain & Usa

Posted: Wed Dec 16, 2009 6:12 pm
by Roberto Lopez
mustafa wrote:Hola amigos
Planteo la siguiente pregunta:
Para presentar numericamente moneda, los decimales '.' tiene que ser ','
Solo puedo poner como mascara de NUMERIC INPUTMASK "9,999,999.99"
de esta forma el resultado seria ejemplo 1,725,457.25 € esta presentación
en España seria incorrecta pues se tiene que escribir 1.725.457,25 €

@ 340,212 TEXTBOX TEXT_1;
FIELD TEST->PRECIO_VEN ;
BACKCOLOR {180,200,255} ;
WIDTH 110 HEIGHT 19 ;
NUMERIC INPUTMASK "9,999,999.99 €"

Veo otro Post que creo que no tubo solucion
http://hmgforum.com/viewtopic.php?f=6&t ... TMASK#p283
Un saludo

Hello friends
I pose the following question:
To file numerically currency, decimals '. ' must be ','
I can only put as NUMERIC INPUTMASK mask "9,999,999.99"
this way the result would be this presentation example 1,725,457.25 €
in Spain would be incorrect since they have to write 1.725.457.25 €

@ 340.212 TextBox TEXT_1;
FIELD TEST-> PRECIO_VEN;
BACKCOLOR (180,200,255);
WIDTH 110 HEIGHT 19;
NUMERIC InputMask "9,999,999.99 €"

I see another post that I believe no solution tube
http://hmgforum.com/viewtopic.php?f=6&t ... =INPUTMASK # P283
A greeting
Mustafa
This is in my TODO list.

Re: INPUTMASK money Spain & Usa

Posted: Wed Dec 16, 2009 7:32 pm
by mustafa
Hola Roberto he leido en los foros que creo que en Clipper es posible

" el formateo @E 999,999,.99, tanto en el picture como en el transform, el @E indica que el picture o mascarilla sea desplegada en formato europeo, es decir usando como separador de decimales los puntos y de los miles las comas.

Tengo entendido que el formato europeo es el que se utiliza en america,
excepto en Méjico, Estados Unidos y Canadá. "

Para pantallas en un get
@ X,Y GET nCAMPO Pict "@E 9,999,999.99"
y para las impresiones
TRANSFORM(nCampo,"@E 9,999,999.99")

http://www.lawebdelprogramador.com/news ... &n9=0&n0=0
Gracias por tu atencion, Felices Fiestas de Navidad y Año Nuevo 2009

*-----------------------------------------------*

Hello Robert I have read in forums that I think Clipper is possible

"Formatting @ E 999,999, .99, both the picture and the transform, the @ E indicates that the picture or mask to be deployed in European format, ie using as separator of decimal points and commas thousands.

I understand that the European format is used in America,
except in Mexico USA and Canada.
For a get screens

@ X, Y GET NCAMP Pict "@E 9,999,999.99"
and impressions
TRANSFORM (NCAMP, "@E 9,999,999.99)

http://www.lawebdelprogramador.com/news ... &n9=0&n0=0
Thank you for your attention, Happy Christmas and New Year 2009

Mustafa :?: