Skip to content

Instantly share code, notes, and snippets.

@thebigdatajedi
Created December 17, 2022 13:26
Show Gist options
  • Save thebigdatajedi/331f0218bdd061065c067a8768904bda to your computer and use it in GitHub Desktop.
Save thebigdatajedi/331f0218bdd061065c067a8768904bda to your computer and use it in GitHub Desktop.

Revisions

  1. thebigdatajedi created this gist Dec 17, 2022.
    2 changes: 2 additions & 0 deletions Converting Int to BigDecimal.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    int intSample = 1;
    BigDecimal.valueOf((double)intSample);