atoi?

atoi?

Imagen de grantrickard

Is there a library I can import in VF that will allow me to convert characters to strings? I don't want ANSII values. I want integer values (something similar to the ATOI() function in C++).

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de james@elementyl.com

Use an internal READ, such as

READ (string, '(i)') int

You can substitute a more appropriate format if applicable, and add error handling.

James

Inicie sesión para dejar un comentario.