# Fixed point decimals for accounting

**URL:** <https://discourse.julialang.org/t/fixed-point-decimals-for-accounting/63400>\
**Category:** General Usage\
**Created:** [June 22, 2021, 9:55pm UTC](https://discourse.julialang.org/t/fixed-point-decimals-for-accounting/63400 "2021-06-22T21:55:29Z")\
**Posts on this page:** 5\
**Page:** 3

<div class="post-metadata">

**Author:** ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Post date:** [June 28, 2021, 8:53pm UTC](https://discourse.julialang.org/t/fixed-point-decimals-for-accounting/63400/41 "2021-06-28T20:53:33Z")

</div>

Even inside a function?

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [June 28, 2021, 9:26pm UTC](https://discourse.julialang.org/t/fixed-point-decimals-for-accounting/63400/42 "2021-06-28T21:26:22Z")

</div>

It isn’t that Pluto doesn’t allow macros, it’s that Pluto doesn’t show in the notebook whatever is written to the standard output or error. Those streams, instead, are shown in the terminal which started the notebook. The same happens with `print` and `println` functions, which aren’t macros.

However the [`PlutoUI.jl`](https://github.com/fonsp/PlutoUI.jl) package offers the `with_terminal` function to show the standard output inside the notebook:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/c/8/c8cf855f90a15df6c3b4b076a6fef38c67c0b42c.png)

---

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [June 28, 2021, 9:28pm UTC](https://discourse.julialang.org/t/fixed-point-decimals-for-accounting/63400/43 "2021-06-28T21:28:55Z")

</div>

No, but when I call a function, it says printf not defined, and the error mentions pluto.

Regards,  
brett knoss

Privacy for your emails

---

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [June 28, 2021, 9:38pm UTC](https://discourse.julialang.org/t/fixed-point-decimals-for-accounting/63400/44 "2021-06-28T21:38:39Z")

</div>

There is both. When I tried to use pretty tables, there were no errors and it showed up in the terminal, but not on the screen. Can commands be entered in the terminal?

---

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [June 28, 2021, 9:39pm UTC](https://discourse.julialang.org/t/fixed-point-decimals-for-accounting/63400/45 "2021-06-28T21:39:36Z")

</div>

I’ll look into this.

[Previous page](https://discourse.julialang.org/t/fixed-point-decimals-for-accounting/63400.md?page=2)
