CONSULTA PARA DAVID DE ARGENTINA - Forum

Forum Navigation
You need to log in to create posts and topics.

CONSULTA PARA DAVID DE ARGENTINA

@daviddeargentina HOLA David como estas, puedo molestarte para ver si me puedes ayudar...

Estoy intentando usar tu plug siguiendo el ejemplo intento que 1500000 se conviertan en 1.500.000,00 pero no logro, me puedes indicar que estoy haciendo mal?

el valor lo toma de efectivo... y luego al final vuelve a ser resultante efectivo.

setvar "[number]" "[efectivo]"
setvar "[length]" "10"
setvar "[decimals]" "0"
setvar "[milliards]" "3"
setvar "[fill_char]" ""
AE_FormatNum "[number]|[length]|[decimals]|[milliards]|[fill_char]"

setvar "[efectivo]" "[ae_resultado]"

Mil gracias / Saludos

StrLen "[number]" "[StrLen]"
If "[StrLen]" ">=" "4"
   Math "[StrLen]/3" "0" "[n]"
   Loop "1" "[n]" "[i]"
       SetVar "[StrLen]" "[StrLen]-3"
       If "[StrLen]" ">" "0"
           StrIns "[#32]" "[number]" "[StrLen]+1" "[number]"
       EndIf
   EndLoop
EndIf
SetVar "[number]" "[number],00"
ClearVariables "StrLen,i,n"

Why do you need a plugin? If you need a period, replace the variable [#32] with a period.

Vadim, luiz and 2 other users have reacted to this post.
Vadimluizalangonzalez91CN_Iceman

@mishem  genial!!! mil gracias ya borre ese complemento y use tu scritp que funciona perfecto

 

saludos