I am struggling with formatting decimals in my Typescript class.
export myclass {
deposit: number;
}
After converting my web API class to this Typescript class, my decimal amounts lose their additional zero. For example, 1.10 becomes 1.1.
I want to keep that zero intact. How can I achieve this in Typescript?