Just another anecdote to add to this.

Django Rest Framework serializes fixed-point decimal values as strings in 
JSON as the only other option - float - would result in loss of precision.

The problem is that this means Angular doesn't set bound fields where the 
input is type=number.

What's the correct thing to do? Well - add a fixed-point decimal type to 
javascript, obviously but that ain't gonna happen any time soon.

The least worst option I suspect might be to allow JSON strings to be bound 
to input type=number or at least give the option to allow this.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to