15,964,432 members
Home / Discussions / C#

C#

 Re: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Sakhalean25-Dec-22 4:52 Sakhalean 25-Dec-22 4:52
 Re: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base BillWoodruff24-Dec-22 18:37 BillWoodruff 24-Dec-22 18:37
 Re: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Sakhalean24-Dec-22 22:46 Sakhalean 24-Dec-22 22:46
 Re: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base trønderen24-Dec-22 23:13 trønderen 24-Dec-22 23:13
 Re: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base BillWoodruff25-Dec-22 4:15 BillWoodruff 25-Dec-22 4:15
 Re: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Sakhalean25-Dec-22 4:50 Sakhalean 25-Dec-22 4:50
 Re: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base BillWoodruff25-Dec-22 5:13 BillWoodruff 25-Dec-22 5:13
 Re: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base trønderen25-Dec-22 11:17 trønderen 25-Dec-22 11:17
 Sakhalean wrote:I am GouseSakhalean, having 17 years of software development experience.OK, but then I am surprised that you ask for help with this problem. I consider it to be quite trivial, like an exercise you would be given early in your studies. Furthermore, I can see no practical use for it - except to make a student really look into floating point formats, and to understand the concept of an arbitrary base. In which application do you need to express a double in an arbitrary base? So both the problem and your questioning made it look like some student asking for help to do his homework assignment. I am getting curious to know which real world application (rather than a student exercise) has a need for the conversion function you have described.
 Re: convert double with decimal places to any base in C# example : 19.879 to any base or -19.345 to any base Sakhalean25-Dec-22 14:06 Sakhalean 25-Dec-22 14:06
 EF Core 6 Repository Pattern Kevin Marois23-Dec-22 9:11 Kevin Marois 23-Dec-22 9:11
 Re: EF Core 6 Repository Pattern Richard Deeming5-Jan-23 0:02 Richard Deeming 5-Jan-23 0:02
 Re: EF Core 6 Repository Pattern Kevin Marois5-Jan-23 6:46 Kevin Marois 5-Jan-23 6:46
 Re: EF Core 6 Repository Pattern Richard Deeming5-Jan-23 22:41 Richard Deeming 5-Jan-23 22:41
 Re: EF Core 6 Repository Pattern Kevin Marois6-Jan-23 5:38 Kevin Marois 6-Jan-23 5:38
 Re: EF Core 6 Repository Pattern Richard Deeming8-Jan-23 21:35 Richard Deeming 8-Jan-23 21:35
 Mysql database freezes with Visual Sudio C# Member 1405587918-Dec-22 5:44 Member 14055879 18-Dec-22 5:44
 Re: Mysql database freezes with Visual Sudio C# RedDk18-Dec-22 10:10 RedDk 18-Dec-22 10:10
 Re: Mysql database freezes with Visual Sudio C# Dave Kreskowiak18-Dec-22 11:20 Dave Kreskowiak 18-Dec-22 11:20
 Re: Mysql database freezes with Visual Sudio C# Richard Deeming18-Dec-22 21:08 Richard Deeming 18-Dec-22 21:08
 Multi-threaded debugging Richard Andrew x6411-Dec-22 6:12 Richard Andrew x64 11-Dec-22 6:12
 Re: Multi-threaded debugging Gerry Schmitz11-Dec-22 7:09 Gerry Schmitz 11-Dec-22 7:09
 Re: Multi-threaded debugging Richard Andrew x6411-Dec-22 7:48 Richard Andrew x64 11-Dec-22 7:48
 Re: Multi-threaded debugging Gerry Schmitz11-Dec-22 14:50 Gerry Schmitz 11-Dec-22 14:50
 Re: Multi-threaded debugging `Randor` 11-Dec-22 8:46 `Randor` 11-Dec-22 8:46
 Re: Multi-threaded debugging Richard Andrew x6411-Dec-22 14:36 Richard Andrew x64 11-Dec-22 14:36
 Last Visit: 31-Dec-99 18:00     Last Update: 11-Aug-24 9:49 Refresh ᐊ Prev1...47484950515253545556 Next ᐅ