Quote:
Originally Posted by theducks
Worms. Big can of.
You are going to slam into filename length limits, way faster .
what happens with higher number series (volume #)?
one-hundred-twenty-seven
some while back, I saw the code to write out the amount on a chech from the numeric value. it was a few dozen lines as it had to parse numbers like seventeen and not as one seven. It needs to put dashes and 'and' in the proper place.
Not simple 
|
Typically what one does is to put limits on the size of the integer part and the number of decimals the function can handle. So for a tax refund cheque writing function, it might be '1,000,000,000,000' and '2'. In this case I would think '1,000' and '1' would probably suffice.
Just for fun, here's some vaguely relevant Word macros from someone you or DoctorOhh might even know ==>>
Spell Out Currency
@
Thorned Rose - I suspect one of the programmers can chime with a solution, after the holiday - probably written in python encapsulated in a calibre template - way beyond my tired old brain's pay grade.
BR