15,905,144 members
Home / Discussions / C / C++ / MFC

# C / C++ / MFC

 Calculating decimal places - ptr_Electron16-Oct-18 1:56 ptr_Electron 16-Oct-18 1:56
 Re: Calculating decimal places - Richard MacCutchan16-Oct-18 2:05 Richard MacCutchan 16-Oct-18 2:05
 Re: Calculating decimal places - ptr_Electron16-Oct-18 2:26 ptr_Electron 16-Oct-18 2:26
 Re: Calculating decimal places - Richard MacCutchan16-Oct-18 3:40 Richard MacCutchan 16-Oct-18 3:40
 Re: Calculating decimal places - David Crow16-Oct-18 2:47 David Crow 16-Oct-18 2:47
 Re: Calculating decimal places - ptr_Electron16-Oct-18 2:52 ptr_Electron 16-Oct-18 2:52
 Re: Calculating decimal places - ptr_Electron16-Oct-18 3:03 ptr_Electron 16-Oct-18 3:03
 Re: Calculating decimal places - David Crow16-Oct-18 3:06 David Crow 16-Oct-18 3:06
 ptr_Electron wrote:for example 8.995 is the tax amount.Which could be stored in memory as `8.9949999999999992` or something similar. Then you would get `16` (or maybe `15`, I forget) as an answer. "One man's wage rise is another man's price increase." - Harold Wilson"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Milesmodified 16-Oct-18 9:34am.
 Re: Calculating decimal places - ptr_Electron16-Oct-18 3:14 ptr_Electron 16-Oct-18 3:14
 Re: Calculating decimal places - David Crow16-Oct-18 3:20 David Crow 16-Oct-18 3:20
 Re: Calculating decimal places - ptr_Electron16-Oct-18 3:29 ptr_Electron 16-Oct-18 3:29
 Re: Calculating decimal places - David Crow16-Oct-18 3:38 David Crow 16-Oct-18 3:38
 Re: Calculating decimal places - leon de boer16-Oct-18 15:28 leon de boer 16-Oct-18 15:28
 Re: Calculating decimal places - CPallini16-Oct-18 2:48 CPallini 16-Oct-18 2:48
 Re: Calculating decimal places - ptr_Electron16-Oct-18 2:55 ptr_Electron 16-Oct-18 2:55
 Re: Calculating decimal places - CPallini16-Oct-18 3:11 CPallini 16-Oct-18 3:11
 Using assignment operator = for a class with const memeber variables? Member 140109547-Oct-18 12:52 Member 14010954 7-Oct-18 12:52
 Re: Using assignment operator = for a class with const memeber variables? CPallini7-Oct-18 20:36 CPallini 7-Oct-18 20:36
 Re: Using assignment operator = for a class with const memeber variables? Richard MacCutchan7-Oct-18 21:47 Richard MacCutchan 7-Oct-18 21:47
 Re: Using assignment operator = for a class with const memeber variables? «_Superman_»9-Oct-18 1:51 «_Superman_» 9-Oct-18 1:51
 Access a pointer value changed in another class meerokh5-Oct-18 6:30 meerokh 5-Oct-18 6:30
 Re: Access a pointer value changed in another class Victor Nijegorodov5-Oct-18 7:51 Victor Nijegorodov 5-Oct-18 7:51
 Re: Access a pointer value changed in another class meerokh5-Oct-18 8:10 meerokh 5-Oct-18 8:10
 Re: Access a pointer value changed in another class Victor Nijegorodov5-Oct-18 8:37 Victor Nijegorodov 5-Oct-18 8:37
 Re: Access a pointer value changed in another class CPallini5-Oct-18 11:28 CPallini 5-Oct-18 11:28
 Last Visit: 31-Dec-99 18:00     Last Update: 24-May-24 21:42 Refresh ᐊ Prev1...256257258259260261262263264265 Next ᐅ