# Why no Float type alias?

**URL:** <https://discourse.julialang.org/t/why-no-float-type-alias/87947>\
**Category:** General Usage\
**Tags:** question, type\
**Created:** [September 28, 2022, 7:20pm UTC](https://discourse.julialang.org/t/why-no-float-type-alias/87947 "2022-09-28T19:20:23Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 28, 2022, 7:58pm UTC](https://discourse.julialang.org/t/why-no-float-type-alias/87947/8 "2022-09-28T19:58:31Z")

</div>

> [@\`Float\` type like \`Int\` type](https://discourse.julialang.org/t/float-type-like-int-type/1164):
>
> I find myself always writing a type alias for floating points in order to make my package neutral to machine word size: typealias Float Float64 Why there is no definition like Int that becomes Int64 or Int32 depending on the host machine? Could you please explain the rationale for this?

---

_[View the full topic](https://discourse.julialang.org/t/why-no-float-type-alias/87947)._
