Hi,

I've been trying to format a double number within a SpinButton.

Given a double var as 12345.12345

I want to get 12.345,12345

I've probe a lot of code combinations. This one is the last I'm working on:

spinbutton.Output += delegate(object o, OutputArgs args) {
        spinbutton.Text = spinbutton.Value.ToString("#,##0.00000");
        args.RetVal = 1;
};

with no succed :(

Anyone can put me on the right way??

Thanks.

Greats.
--
José Salvador
@josesalvadorvan
_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to