CNumberFormat and CNumberValidator

Hi, I’m quite new to yii.

But I’m developed other applications.

I want to have this achieved.

in mi model I have an attribute that is numerical ( 5,2),

is there any way to:

Retrieve and display the value with the format : $0.00

Validate input: from 0.00 to 99999.99

All this just configuring model rules !!

Best Regards