c++ - Convert decimal dollar amount from string to scaled integer -


"35.28" stored char*. need turn integer (35280).

i want avoid floats. how can this?

remove dot char , then
simplest not best use atoi

see answer here, other possible ways.


Comments

Popular posts from this blog

razor - Is this a bug in WebMatrix PageData? -

c# - How to set Z index when using WPF DrawingContext? -

c# - Cloning WPF controls and object hierarchies -