On Fri, Sep 12, 2008 at 1:26 PM, Bob Ippolito <[EMAIL PROTECTED]> wrote:
>
> d is for integers, f is for fixed point.
>
> 1> mochifmt:f("${0:.2f}", [1.234]).
> "$1.23"
>

Love it.

Though I finally RTFM'd and found twoDigitFloat(), so this particular
case already sucks less.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to