Increment a numerical string: Difference between revisions
Increment a numerical string en Asymotpte
(Increment a numerical string in various BASIC dialents) |
(Increment a numerical string en Asymotpte) |
||
Line 731:
<pre>The next number is: 12350</pre>
=={{header|Asymptote}}==
<lang Asymptote>string cadena = "12345.78";
cadena = string((real)cadena + 1);
write(cadena);</lang>
{{out}}
<pre>12346.78</pre>
=={{header|AutoHotkey}}==
|