# UniformScaling type

**URL:** <https://discourse.julialang.org/t/uniformscaling-type/65472>\
**Category:** New to Julia\
**Created:** [July 29, 2021, 4:17am UTC](https://discourse.julialang.org/t/uniformscaling-type/65472 "2021-07-29T04:17:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jinml](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jinml](https://discourse.julialang.org/u/jinml)\
**Post date:** [July 29, 2021, 4:17am UTC](https://discourse.julialang.org/t/uniformscaling-type/65472/1 "2021-07-29T04:17:46Z")

</div>

What’s the point of having this type? It seems to behave just like a scalar number. When is it ever necessary?

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [July 29, 2021, 4:30am UTC](https://discourse.julialang.org/t/uniformscaling-type/65472/2 "2021-07-29T04:30:28Z")

</div>

Numbers don’t have `size`, so a lot of the time, using `UniformScaling` is more robust when you are doing things like broadcasting.
