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
INPUTMASK money Spain & Usa
Moderator: Rathinagiri
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: INPUTMASK money Spain & Usa
This is in my TODO list.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
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- mustafa
- Posts: 1177
- Joined: Fri Mar 20, 2009 11:38 am
- DBs Used: DBF
- Location: Alicante - Spain
- Contact:
Re: INPUTMASK money Spain & Usa
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
" 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