Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

is it Bug with StringBuilder?

0 views
Skip to first unread message

Vital

unread,
Oct 31, 2008, 4:59:01 AM10/31/08
to
I'm using VS 2008; Targetframework 3.5
We are appending string using stringbuilder as below

sb.Append(source_value);

it is behaving differently in 2 scenarios
For both scenarios
source_value is of type object {decimal}
source_value = 12;

1st Scenario
It is appending 12

2nd Scenario
It is appending 12.00

I'm confused why it is behaving differently, can any tell me whats happening
there

Vital

unread,
Oct 31, 2008, 5:32:00 AM10/31/08
to
Sorry this is mistake from my debugging
0 new messages