I am using string.format to format my model value inside razor view but it does not gives desired result
@string.Format("{0:00}", Model.Range == null ? "" : Model.Range.ToString())
It should result as 05
if i am using below it gives me result but not from model
@string.Format("{0:00}", 5)
Someone have any idea or same experience ?