From: Simon Krahnke Date: 2007-08-15T20:04:58+09:00 Subject: Re: how to output a octal coded number ??? * unbewust (17:31) schrieb: >> num = "775".to_i(8) >> dec = num.to_s #> "509" >> oct = num.to_s(8) #> "775" > > i've allready a way to output my number as an octal "775" BUT i'll > like having better "0775" because in the C language the first 0 means > octal and i ask for xhen input . I don't quite understand the purpose of your extension. Normally you do interaction with the user in ruby code. mfg, simon .... l