I have a class that I need an actual decimal field
export myclass {
deposit: number;
}
however when i convert my web api class to this typescript class my decimal amounts that should look like this 1.10 look like this 1.1 when the object is converted.
I need that zero to stay put. How can I do this in typescript?