support for classes

Attribute ni-class to give custom classes to the input element.
Parse string to float on Render()

Error was thrown when trying to call toFixed of string.