---
date: "2023-06-25T18:34:31.000Z"
title: "2023-06-25"
tags: ["clojure"]
draft: false
---

Doing math with a non-big decimal number and a big decimal number can cast down.

```clojure
user=> (* 0.1 101M)
10.100000000000001
```

```clojure
user=> (bigdec (* 0.1 101M))
10.100000000000001M
```