Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting number to string representation
Message
From
29/04/2009 02:36:32
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01396542
Message ID:
01396863
Views:
62
>>>>Do you know in which cases one puts an 'and' between Hundred and what follows ?
>>>
>>>I'd think any time anything follows. e.g:
>>>1300 = One Thousand Three Hundred
>>>1327 = One Thousand Three Hundred and Twenty Seven
>>>etc
>>
>>
>>The 1300 - I knew - ;)
>>
>>But I was not sure about the rest [ There are rules in Spanish for that - which I have forgotten ]
>>So, that should be simple .... if it weren't for ...
>>
>>the case that there are no hundreds, eg 1004 , 10004, 100004
>>104000000 [ With one billion = 1000,000,000,000]
>>104000001 hundred and four million and one
>>
>>I'd need to give it some thought - might be fun
>
Is the rule simply that 'and' precedes the portion of the number less than one hundred?
Don't see how that could fit into the current algorighm though - probably need a routine to adapt the final result
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform