# Basic question on Julia symbolic. How to keep exp(1) as is and not convert it to a floating point number?

**URL:** <https://discourse.julialang.org/t/basic-question-on-julia-symbolic-how-to-keep-exp-1-as-is-and-not-convert-it-to-a-floating-point-number/86476>\
**Category:** New to Julia\
**Created:** [August 28, 2022, 11:36pm UTC](https://discourse.julialang.org/t/basic-question-on-julia-symbolic-how-to-keep-exp-1-as-is-and-not-convert-it-to-a-floating-point-number/86476 "2022-08-28T23:36:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [August 29, 2022, 1:04am UTC](https://discourse.julialang.org/t/basic-question-on-julia-symbolic-how-to-keep-exp-1-as-is-and-not-convert-it-to-a-floating-point-number/86476/5 "2022-08-29T01:04:20Z")

</div>

```julia
julia> using Symbolics

julia> Symbolics.Term(exp, 1)
exp(1)

julia> ans / ans
1

julia> Symbolics.Term(exp, ans)
exp(1)

julia> Symbolics.Term(exp, [ans])
exp(exp(1))

```

There are earlier threads on the same topic, btw:

> [@Symbolic sqrt(2) and sin(pi)](https://discourse.julialang.org/t/symbolic-sqrt-2-and-sin-pi/58633/):
>
> I asked this as a genuine question but looking at Symbolics.jl more closely I get the impression that the answer is that there is no way to do this even for sqrt(2). If that’s the case then this is something very different from other CAS… Am I misunderstanding this? How can sqrt(2) be represented exactly?

---

_[View the full topic](https://discourse.julialang.org/t/basic-question-on-julia-symbolic-how-to-keep-exp-1-as-is-and-not-convert-it-to-a-floating-point-number/86476)._
