Timeline for Integer to English Conversion
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 16, 2015 at 9:30 | vote | accept | WhiteEyeTree | ||
Jul 16, 2015 at 9:27 | comment | added | WhiteEyeTree | More over, i don't know why that negative check was still there, i knew it was bogus code to begin with. Anyhow many many thanks, i'll try to implement every change you suggested and rewrite everything from scratch. Cherrs, happy coding! | |
Jul 16, 2015 at 9:08 | comment | added | WhiteEyeTree | Thanks, the decine and hundred functions are mean to work with vectors of size 2 and 3 respectively (that's why i used the checks in stringer). For example, we look at decine (since hundreds then uses it again ): if the first digit is zero in the 2 digit vector then we have a unit, that's for cases like 109, where 1 gets registered as hundred and then 09 is passed as a decine to the respective function. Then there is another check to see if you have the "teens" or a higher number. | |
Jul 15, 2015 at 19:52 | history | answered | Barry | CC BY-SA 3.0 |