I encountered a situation in my code where I declared a number with a zero decimal like so:
var myNumber: number = 1.0;
When using Angular, it automatically strips off the zero from the value displayed in my form. Converting it to a string is not preferred as it feels like a strange workaround.
Is there a way to instruct Angular to preserve the trailing zero and display it accordingly?