Click here to Skip to main content
15,896,378 members
Home / Discussions / C#
   

C#

 
GeneralRe: Process Memory Space Pin
Jordanwb23-Apr-08 16:14
Jordanwb23-Apr-08 16:14 
GeneralRe: Process Memory Space Pin
AngusP15-Apr-09 16:16
AngusP15-Apr-09 16:16 
Generalissues in float division a/b Pin
George_George22-Apr-08 18:38
George_George22-Apr-08 18:38 
GeneralRe: issues in float division a/b Pin
Vikram A Punathambekar22-Apr-08 18:50
Vikram A Punathambekar22-Apr-08 18:50 
GeneralRe: issues in float division a/b Pin
George_George22-Apr-08 19:00
George_George22-Apr-08 19:00 
GeneralRe: issues in float division a/b Pin
darkelv22-Apr-08 19:19
darkelv22-Apr-08 19:19 
GeneralRe: issues in float division a/b Pin
George_George22-Apr-08 20:35
George_George22-Apr-08 20:35 
GeneralRe: issues in float division a/b Pin
Reelix22-Apr-08 22:23
Reelix22-Apr-08 22:23 
I've had float's giving some rather... Awkward answers when dealing with unnaturally large / small numbers.

Use double Big Grin | :-D

double a = 9249716388365591935;<br />
double b = 0.000000000000000000000000000000000001;<br />
double c = (a / b);<br />
MessageBox.Show(c.ToString());


Although, that's the limit of double - "a" cannot be any larger (An extra digit)...

Although, if you actually NEED any larger numbers.....

I'll try find something :p

- Reelix
GeneralRe: issues in float division a/b Pin
George_George22-Apr-08 23:54
George_George22-Apr-08 23:54 
GeneralRe: issues in float division a/b Pin
Reelix23-Apr-08 0:21
Reelix23-Apr-08 0:21 
GeneralRe: issues in float division a/b Pin
George_George23-Apr-08 0:23
George_George23-Apr-08 0:23 
GeneralRe: issues in float division a/b Pin
Reelix23-Apr-08 0:37
Reelix23-Apr-08 0:37 
GeneralRe: issues in float division a/b Pin
George_George23-Apr-08 2:48
George_George23-Apr-08 2:48 
GeneralRe: issues in float division a/b Pin
Reelix23-Apr-08 3:01
Reelix23-Apr-08 3:01 
GeneralRe: issues in float division a/b Pin
George_George23-Apr-08 3:22
George_George23-Apr-08 3:22 
GeneralRow Count Pin
Member 400431622-Apr-08 18:23
Member 400431622-Apr-08 18:23 
GeneralRe: Row Count Pin
cocoonwls22-Apr-08 18:39
cocoonwls22-Apr-08 18:39 
GeneralRe: Row Count Pin
Vikram A Punathambekar22-Apr-08 18:52
Vikram A Punathambekar22-Apr-08 18:52 
GeneralRe: Row Count Pin
cocoonwls22-Apr-08 19:09
cocoonwls22-Apr-08 19:09 
GeneralRe: Row Count Pin
Vikram A Punathambekar22-Apr-08 18:53
Vikram A Punathambekar22-Apr-08 18:53 
GeneralRe: Row Count Pin
Ajay.k_Singh22-Apr-08 19:36
Ajay.k_Singh22-Apr-08 19:36 
GeneralParameter is not valid. Pin
cuongmits22-Apr-08 13:54
cuongmits22-Apr-08 13:54 
GeneralRe: Parameter is not valid. Pin
Christian Graus22-Apr-08 13:58
protectorChristian Graus22-Apr-08 13:58 
GeneralRe: Parameter is not valid. Pin
cuongmits22-Apr-08 14:05
cuongmits22-Apr-08 14:05 
GeneralRe: Parameter is not valid. Pin
Christian Graus22-Apr-08 14:08
protectorChristian Graus22-Apr-08 14:08 

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.