From: Roger Pack Date: 2009-08-04T22:25:09+09:00 Subject: [ruby-core:24740] Re: About An Imaginary Number Literal (Translation) > Matz suggested introducing an imaginary number literal to ruby. After > his new patch is applied, we can use the following syntax: > > �2i > �2.0i Was this feature requested by someone? Will it be used? One thought would be to allow for people to specify "any one character ascii suffix" and let them [define or redefine set ones], too. i.e. 2.0i => 2.0.i 2.0x => 2.0.x Then you could define 2.0bd # big decimal ? =r