Click here to Skip to main content
12,696,920 members (29,000 online)

C / C++ / MFC

 
Questionbytes to mb conversion upto two decimal places. Pin
Le@rner17-Sep-13 19:55
memberLe@rner17-Sep-13 19:55 
AnswerRe: bytes to mb conversion upto two decimal places. Pin
Richard MacCutchan17-Sep-13 22:06
mvpRichard MacCutchan17-Sep-13 22:06 
GeneralRe: bytes to mb conversion upto two decimal places. Pin
Le@rner17-Sep-13 22:27
memberLe@rner17-Sep-13 22:27 
GeneralRe: bytes to mb conversion upto two decimal places. Pin
Richard MacCutchan17-Sep-13 22:35
mvpRichard MacCutchan17-Sep-13 22:35 
Then you need to print it to a memory buffer in full and then remove all the extra digits from the string before displaying it.
Veni, vidi, abiit domum

GeneralRe: bytes to mb conversion upto two decimal places. Pin
Le@rner17-Sep-13 22:38
memberLe@rner17-Sep-13 22:38 
AnswerRe: bytes to mb conversion upto two decimal places (fixed). Pin
CPallini17-Sep-13 22:47
mvpCPallini17-Sep-13 22:47 
SuggestionRe: bytes to mb conversion upto two decimal places. Pin
pasztorpisti18-Sep-13 0:21
memberpasztorpisti18-Sep-13 0:21 
GeneralRe: bytes to mb conversion upto two decimal places. Pin
CPallini18-Sep-13 0:32
mvpCPallini18-Sep-13 0:32 
AnswerRe: bytes to mb conversion upto two decimal places. Pin
Flaviu217-Sep-13 23:19
memberFlaviu217-Sep-13 23:19 
AnswerRe: bytes to mb conversion upto two decimal places. Pin
pasztorpisti18-Sep-13 0:19
memberpasztorpisti18-Sep-13 0:19 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.170118.1 | Last Updated 20 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid