Click here to Skip to main content
16,017,448 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Looking for opinions on currency handling.... Pin
Jeremy Falcon3-Sep-24 2:48
professionalJeremy Falcon3-Sep-24 2:48 
GeneralRe: Looking for opinions on currency handling.... Pin
CPallini3-Sep-24 3:07
mveCPallini3-Sep-24 3:07 
GeneralRe: Looking for opinions on currency handling.... Pin
Jeremy Falcon3-Sep-24 3:23
professionalJeremy Falcon3-Sep-24 3:23 
GeneralRe: Looking for opinions on currency handling.... Pin
Mircea Neacsu3-Sep-24 15:45
Mircea Neacsu3-Sep-24 15:45 
GeneralRe: Looking for opinions on currency handling.... Pin
Jeremy Falcon3-Sep-24 15:50
professionalJeremy Falcon3-Sep-24 15:50 
GeneralRe: Looking for opinions on currency handling.... Pin
Jeremy Falcon3-Sep-24 15:53
professionalJeremy Falcon3-Sep-24 15:53 
GeneralRe: Looking for opinions on currency handling.... Pin
Mircea Neacsu3-Sep-24 16:07
Mircea Neacsu3-Sep-24 16:07 
GeneralRe: Looking for opinions on currency handling.... Pin
Jeremy Falcon3-Sep-24 17:31
professionalJeremy Falcon3-Sep-24 17:31 
I think peeps assume I’m a total n00b just because I’m asking for folk’s opinions. Using an integer was the first thing I mentioned. I promise you I know of 64-bit ints.

The question was has anybody used 128-bit ints and noticed a serious performance hit. The only reason I mentioned all three original ways is because I knew someone would come along and tell something unrelated.

Also, that’s grossly over simplifying system design. I’ve architected plenty of enterprise apps in my day. Future proofing is also a consideration.

So, to repeat man… the question isn’t what’s an int. It’s how fast is a 128-bit int for those who actually used it in a project. If someone has a better way to store currency than the four ways already mentioned (including fixed point) - great.
Jeremy Falcon

QuestionADDENDUM How to display full 4 binary bits - after QString "number" option converts string to int. including hexadecimal strings. Pin
jana_hus30-Aug-24 7:39
jana_hus30-Aug-24 7:39 
QuestionRe: How to display full 4 binary bits - after QString "number" option converts string to int. Pin
Richard MacCutchan30-Aug-24 8:05
mveRichard MacCutchan30-Aug-24 8:05 
AnswerRe: REOPEN How to display full 4 binary bits - after QString "number" option converts string to int. including hexadecimal strings. Pin
Richard MacCutchan3-Sep-24 21:56
mveRichard MacCutchan3-Sep-24 21:56 
Questionwrapping enum in namespace ? Pin
Maximilien29-Aug-24 3:37
Maximilien29-Aug-24 3:37 
AnswerRe: wrapping enum in namespace ? Pin
k505429-Aug-24 5:43
mvek505429-Aug-24 5:43 
GeneralRe: wrapping enum in namespace ? Pin
Maximilien29-Aug-24 6:41
Maximilien29-Aug-24 6:41 
QuestionThis should be an easy question... 128-bit blues. Pin
Jeremy Falcon28-Aug-24 11:12
professionalJeremy Falcon28-Aug-24 11:12 
AnswerRe: This should be an easy question... 128-bit blues. Pin
k505428-Aug-24 12:04
mvek505428-Aug-24 12:04 
GeneralRe: This should be an easy question... 128-bit blues. Pin
Jeremy Falcon28-Aug-24 12:21
professionalJeremy Falcon28-Aug-24 12:21 
AnswerRe: This should be an easy question... 128-bit blues. Pin
Mircea Neacsu28-Aug-24 14:47
Mircea Neacsu28-Aug-24 14:47 
GeneralRe: This should be an easy question... 128-bit blues. Pin
Jeremy Falcon28-Aug-24 15:03
professionalJeremy Falcon28-Aug-24 15:03 
GeneralRe: This should be an easy question... 128-bit blues. Pin
Mircea Neacsu28-Aug-24 15:11
Mircea Neacsu28-Aug-24 15:11 
GeneralRe: This should be an easy question... 128-bit blues. Pin
Jeremy Falcon28-Aug-24 15:43
professionalJeremy Falcon28-Aug-24 15:43 
GeneralRe: This should be an easy question... 128-bit blues. Pin
Mircea Neacsu28-Aug-24 15:46
Mircea Neacsu28-Aug-24 15:46 
QuestionOwn border in client area Pin
john563226-Aug-24 19:59
john563226-Aug-24 19:59 
AnswerRe: Own border in client area Pin
Richard MacCutchan26-Aug-24 22:10
mveRichard MacCutchan26-Aug-24 22:10 
AnswerRe: Own border in client area Pin
Maximilien27-Aug-24 8:22
Maximilien27-Aug-24 8:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.