switch - confusing behaviour with numeric strings Topic is solved

Report problems with documented functionality
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

switch - confusing behaviour with numeric strings

21 Aug 2019, 04:35

This behaviour is confusing:

Code: Select all

switch '1' 
{
	case '1.0': msgbox '1.0' == '1' ; Shows 0
}
the behaviour of == is preferable imo.
Cheers.

Return to “Bug Reports”

Who is online

Users browsing this forum: RussF and 52 guests