15,031,345 members

# Welcome to the Lounge

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 Re: Mini CCCs 144 OriginalGriff6-Nov-19 19:52 OriginalGriff 6-Nov-19 19:52
 Re: Mini CCCs 144 - Done Tim Deveaux7-Nov-19 5:40 Tim Deveaux 7-Nov-19 5:40
 I was sent this, and... OriginalGriff6-Nov-19 10:27 OriginalGriff 6-Nov-19 10:27
 Re: I was sent this, and... j snooze6-Nov-19 11:22 j snooze 6-Nov-19 11:22
 Re: I was sent this, and... OriginalGriff6-Nov-19 11:47 OriginalGriff 6-Nov-19 11:47
 Re: I was sent this, and... Rajesh R Subramanian6-Nov-19 18:08 Rajesh R Subramanian 6-Nov-19 18:08
 Re: I was sent this, and... S Houghtelin7-Nov-19 1:44 S Houghtelin 7-Nov-19 1:44
 Java - ughhh ZurdoDev6-Nov-19 9:03 ZurdoDev 6-Nov-19 9:03
 I have to do some updates to a Java program (I normally do .Net). I need to multiply 2 numbers. One is a BigDecimal and the other is a hard-coded integer. In .Net I can easily do Copy Code ```decimal a = 2; decimal b = a * 3; // b has 6 ``` Simple. Easy. In Java? Nope, I have to use methods because it can't multiply a BigDecimal and an Int directly using *. So, I have to do this Copy Code ```BigDecimal a = new BigDecimal(2); BigDecimal b = a.multiply(new BigDecimal(3));```  Ahh! It's even worse. You can't even multiply 2 bigdecimals using *. [/Edit] [Edit2] You can't even add them. You have to use a method to add 2 bigdecimals. [/Edit2] Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
 Re: Java - ughhh Slacker0076-Nov-19 9:26 Slacker007 6-Nov-19 9:26
 Re: Java - ughhh ZurdoDev6-Nov-19 9:35 ZurdoDev 6-Nov-19 9:35
 Re: Java - ughhh Slacker0076-Nov-19 9:41 Slacker007 6-Nov-19 9:41
 Re: Java - ughhh Dan Neely7-Nov-19 3:28 Dan Neely 7-Nov-19 3:28
 Re: Java - ughhh jackbrownii7-Nov-19 6:46 jackbrownii 7-Nov-19 6:46
 Re: Java - ughhh Marc Clifton6-Nov-19 9:29 Marc Clifton 6-Nov-19 9:29
 Re: Java - ughhh Member 79891226-Nov-19 22:33 Member 7989122 6-Nov-19 22:33
 Re: Java - ughhh Marc Clifton7-Nov-19 2:25 Marc Clifton 7-Nov-19 2:25
 Re: Java - ughhh Member 79891227-Nov-19 21:36 Member 7989122 7-Nov-19 21:36
 Re: Java - ughhh Dave Kreskowiak6-Nov-19 9:42 Dave Kreskowiak 6-Nov-19 9:42
 Re: Java - ughhh Super Lloyd6-Nov-19 11:55 Super Lloyd 6-Nov-19 11:55
 Re: Java - ughhh CPallini6-Nov-19 20:57 CPallini 6-Nov-19 20:57
 Re: Java - ughhh Member 79891226-Nov-19 22:34 Member 7989122 6-Nov-19 22:34
 Re: Java - ughhh Rajesh R Subramanian7-Nov-19 1:17 Rajesh R Subramanian 7-Nov-19 1:17
 Re: Java - ughhh CPallini7-Nov-19 1:42 CPallini 7-Nov-19 1:42
 Re: Java - ughhh Rajesh R Subramanian7-Nov-19 13:51 Rajesh R Subramanian 7-Nov-19 13:51
 Just Curious Kevin Marois6-Nov-19 6:19 Kevin Marois 6-Nov-19 6:19
 Last Visit: 31-Dec-99 18:00     Last Update: 19-Sep-21 0:10 Refresh ᐊ Prev1...3002300330043005300630073008300930103011 Next ᐅ