I have something like that:
Code:
Regex reg = new Regex(@"^\d+(\.\d\d)?$");
if (!reg.IsMatch(book.price))
{
}
But I have an error:
Error 4 Argument 1: cannot convert from 'decimal' to 'string'


What should I do ?