Home | Trees | Indices | Help |
---|
|
|
|||
|
_get_float_remainder(fvalue,
signs=9) Get remainder of float, i.e. |
||
|
choose_plural(amount,
variants) Choose proper case depending on amount |
||
|
rubles(amount,
zero_for_kopeck=False) Get string for money |
||
|
in_words_int(amount,
gender=1) Integer in words |
||
|
in_words_float(amount,
_gender=2) Float in words |
||
|
in_words(amount,
gender=None) Numeral in words |
||
|
sum_string(amount,
gender,
items=None) Get sum in words |
||
|
_sum_string_fn(into,
tmp_val,
gender,
items=None) Make in-words representation of single order |
|
|||
|
__revision__ = '$Id: numeral.py 29 2006-10-21 08:28:27Z the.pythy $'
|
||
|
__id__ = '$Id: numeral.py 29 2006-10-21 08:28:27Z the.pythy $'
|
||
|
__url__ = '$URL: https://pythy.googlecode.com/svn/trunk/pytils...
|
||
|
FRACTIONS = ((u'\u0434\u0435\u0441\u044f\u0442\u0430\u044f', u'\... Forms (1, 2, 5) for fractions |
||
|
ONES = {0: (u'', u'', u''), 1: (u'\u043e\u0434\u0438\u043d'... Forms (1, 2, 5) for ones |
||
|
TENS = {0: u'', 2: u'\u0434\u0432\u0430\u0434\u0446\u0430\u... Tens |
||
|
HUNDREDS = {0: u'', 1: u'\u0441\u0442\u043e', 2: u'\u0434\u0432... Hundreds |
|
|
|
|
|
|
|
|
|
|
__revision__None
|
__id__None
|
__url__None
|
FRACTIONSForms (1, 2, 5) for fractions
|
ONESForms (1, 2, 5) for ones
|
TENSTens
|
HUNDREDSHundreds
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Sun Oct 29 00:35:02 2006 | http://epydoc.sourceforge.net |