On Saturday, 24 October 2020 at 14:10:02 UTC, matheus wrote:
On Saturday, 24 October 2020 at 04:04:18 UTC, Виталий Фадеев
wrote:
On Friday, 23 October 2020 at 16:59:06 UTC, matheus wrote:
On Friday, 23 October 2020 at 13:57:41 UTC, Joseph Rushton
Wakeling wrote:
On Wednesday, 21 October 2020 at 22:50:27 UTC, matheus wrote:
I don't get...
(1.1).to!int = 1.
("1.1").to!int = Current is an error and IMO should be 1.
Matheus.
You should write converter from string to int.
Then you will understand.
You converter input:
"1"
"1.1"
"1.1.1"
"1a"
"1.1a"
"a"
".1"
".1.1"
You converter must be fast.