Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > %a format

Thread Tools

%a format

Steven Bethard
Posts: n/a
I wrote:

> >>> def itoa(i, base):

> ... return str(int(str(i), base))
> ...

Oops. My bad. You wanted the inverse. Just ignore me.

Reply With Quote
Erik Max Francis
Posts: n/a
Steven Bethard wrote:

> Well, I'm guessing itoa isn't a standard function because it's not
> that
> commonly used...

It was a common library add-on in the DOS world, but it was never

__ Erik Max Francis && Removed) &&
/ \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ Never had very much to say / Laugh last, laugh longest
-- Des'ree
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Money Format + Decimal Place Format shannon Java 1 02-02-2006 03:47 PM
Money Format + Decimal Place Format shannon Java 0 02-01-2006 10:02 PM
need code to convert float format to internal java float format which is kept in 4 bytes integer Andy Java 7 05-10-2004 09:26 PM
NTFS quick format and normal format Guan Foo Wah MCSE 2 05-08-2004 11:35 PM
Date Format - best way of converting a string into a date format Brian Candy ASP .Net 2 02-18-2004 02:13 PM