Boost logo

Boost Users :

Subject: [Boost-users] converting numbers to strings and padding the string if the number is within a specific range
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2009-04-12 11:45:48


Hi all:
I am in the process of writing a module for an application which
requires me to convert a number to a string, and pad the string with a
leading zero (0) if the number is within the range one to nine or in one
case, one to 100.
What is the best way of doing this using the boost libraries? Any help
appreciated as always.
Regards
Sean.
 

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4002 (20090411) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net