fixed bug on price with no integer part, added better error handling behavior