Tengo una planilla de gastos que debo exportar a un archivo txt, cuando concateno los datos con & & los importes que terminan en 0 (cero) como por ejemplo $ 150.00 o 75.70 me toma solamente 150 o 75.7 para el otro caso. El tema es que necesito qu los numero pasen tal como son con dos decimales.
cuenta contable Importe tax code
400400003 150.00 C1
400400003 45.70 C1
TOMANDO ESTO DATOS LO CONCATENO PREVIO A GENERAR EL ARCHIVO TXT Y ME QUEDA ASI:
400400003 150C1
400400003 45.7C1
CUANDO EN REALIDAD DEBE QUEDAR DE LA SIGUIENTE MANERA:
400400003 150.00C1
400400003 45.70C1
COMO VEN ELIMINAN LOS DOS DECIMALES EN EL PROIMER CASO Y EL ULTIMO DECIMAL EN EL DE 45.70.
ALGUNA SUGERENCIA PARA QUE ME RESPETE LOS DECIMALES AUNQUE ESTOS SEAN 0 (CEROS)
Submitted via EggHeadCafe - Software Developer Portal of Choice
Sending SMTP email from within BizTalk Orchestration
http://www.eggheadcafe.com/tutorial...rom-w.aspx
Leer las respuestas