class @decimal : IPropertyObject
{

public override IPropertyObject Parse(string content)
{
decimal result;
decimal.TryParse(content.Replace(".", ","), out result);
return new @decimal() { Value = result };
}

public override bool IsType(string content)
{
decimal result;
return decimal.TryParse(content, out result);
}

}

Last edited Jun 29, 2013 at 9:12 AM by furesoft, version 1

Comments

No comments yet.