You'll need to create a plnkr or similar to demonstrate this issue.
Angular doesn't just convert a float to an object like this. It looks
like the value is being split("") with no delimiter to get an array and
then converted to an object. That's the only way to get there that I can
tell.
On Monday, February 24, 2014 11:15:57 PM UTC-7, Deeksha Sharma wrote:
>
> Hi everyone,
>
> I am returning a decimal value like 43.0 and getting it in angularjs
> object like {"0":"4","1":"3","2":".","3":"0"}. So, why it is getting
> converted in json key value pair format.
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.