Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.


Member Since 23 Oct 2013
Offline Last Active Feb 10 2014 04:40 PM

Topics I've Started

How to format a decimal number string with zero padding?

24 January 2014 - 03:05 PM

I want to make a three digit string with an integer. So 31 becomes 031 and 9 becomes 009.


I tried number.ToString("D3") or number.ToString("000") as you would with VS C#, but these does not work.


I have been searching all over and have been struggling with this but cannot find a solution other than writing a code strip for it.




home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.