I have an enum
public enum ProductionStatus { Received = 000, Validated = 010, PlannedAndConverted = 020, InProduction = 030, QAChecked
Just to throw another solution in there...
((int)ProductionStatus.Validated).ToString("D3");