[Gambas-user] Simplifying Complex Numbers
Cedron Dawg
cedron at exede.net
Sat Mar 16 17:13:36 CET 2019
That's slick. I've updated my article. I also dropped the "ToString()" for an even cleaner look.
----- Original Message -----
From: "Benoît Minisini" <g4mba5 at gmail.com>
Cool. Maybe you didn't notice, but instead of writing:
z1 = New Complex(3, 4)
you can actually write:
z1 = 3 + 4i
Note that, as 'i' is an identifier, you have to write "1i" to get i.
Regards,
--
Benoît Minisini
----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
More information about the User
mailing list