Click here to Skip to main content
15,891,951 members
Home / Discussions / C#
   

C#

 
AnswerRe: decimal.ToString() mystery Pin
Luc Pattyn28-Feb-11 12:01
sitebuilderLuc Pattyn28-Feb-11 12:01 
GeneralRe: decimal.ToString() mystery Pin
Super Lloyd28-Feb-11 12:09
Super Lloyd28-Feb-11 12:09 
GeneralRe: decimal.ToString() mystery Pin
Super Lloyd28-Feb-11 12:21
Super Lloyd28-Feb-11 12:21 
AnswerRe: decimal.ToString() mystery Pin
Luc Pattyn28-Feb-11 12:41
sitebuilderLuc Pattyn28-Feb-11 12:41 
GeneralRe: decimal.ToString() mystery Pin
V.28-Feb-11 20:35
professionalV.28-Feb-11 20:35 
AnswerRe: decimal.ToString() mystery Pin
Eddy Vluggen28-Feb-11 11:42
professionalEddy Vluggen28-Feb-11 11:42 
GeneralRe: decimal.ToString() mystery Pin
Super Lloyd28-Feb-11 11:50
Super Lloyd28-Feb-11 11:50 
GeneralRe: decimal.ToString() mystery Pin
Eddy Vluggen28-Feb-11 20:47
professionalEddy Vluggen28-Feb-11 20:47 
Super Lloyd wrote:
I thought the whole point of decimal was to avoid this kind of problem!

Might be, but it still can't guess how much decimals you want. Hence, it'll probably take the one that "fits best".

Super Lloyd wrote:
Anyway, I "fixed" it, made a function to remove trailing '0'

So, it might still result in a value of 1,0000001? Smile | :)
I are Troll Suspicious | :suss:

GeneralRe: decimal.ToString() mystery Pin
Super Lloyd28-Feb-11 21:11
Super Lloyd28-Feb-11 21:11 
GeneralRe: decimal.ToString() mystery Pin
Eddy Vluggen28-Feb-11 21:19
professionalEddy Vluggen28-Feb-11 21:19 
AnswerRe: decimal.ToString() mystery [SOLVED] Pin
RobCroll28-Feb-11 16:11
RobCroll28-Feb-11 16:11 
GeneralRe: decimal.ToString() mystery [SOLVED] Pin
Super Lloyd28-Feb-11 16:21
Super Lloyd28-Feb-11 16:21 
Questionmy program works very slow Pin
Erdinc2728-Feb-11 8:04
Erdinc2728-Feb-11 8:04 
AnswerRe: my program works very slow Pin
Luc Pattyn28-Feb-11 8:55
sitebuilderLuc Pattyn28-Feb-11 8:55 
AnswerRe: my program works very slow Pin
RobCroll28-Feb-11 12:16
RobCroll28-Feb-11 12:16 
AnswerRe: my program works very slow Pin
PIEBALDconsult28-Feb-11 13:19
mvePIEBALDconsult28-Feb-11 13:19 
GeneralRe: my program works very slow Pin
Erdinc273-Mar-11 5:09
Erdinc273-Mar-11 5:09 
Questionhow to programing Microsoft Management Console ?? Pin
GREG_DORIANcod28-Feb-11 4:58
professionalGREG_DORIANcod28-Feb-11 4:58 
AnswerRe: how to programing Microsoft Management Console ?? Pin
Eddy Vluggen28-Feb-11 6:02
professionalEddy Vluggen28-Feb-11 6:02 
AnswerRe: how to programing Microsoft Management Console ?? Pin
RaviRanjanKr28-Feb-11 17:09
professionalRaviRanjanKr28-Feb-11 17:09 
Questionaccessing folder from project Pin
jashimu28-Feb-11 4:37
jashimu28-Feb-11 4:37 
AnswerRe: accessing folder from project Pin
OriginalGriff28-Feb-11 5:30
mveOriginalGriff28-Feb-11 5:30 
GeneralRe: accessing folder from project Pin
jashimu28-Feb-11 7:03
jashimu28-Feb-11 7:03 
GeneralRe: accessing folder from project Pin
Tony Richards28-Feb-11 7:51
Tony Richards28-Feb-11 7:51 
GeneralRe: accessing folder from project [modified] Pin
OriginalGriff28-Feb-11 8:41
mveOriginalGriff28-Feb-11 8:41 

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.