# Wrap and inherit Number

**URL:** https://discourse.julialang.org/t/wrap-and-inherit-number/4799
**Category:** General Usage
**Tags:** question
**Created:** [July 12, 2017, 11:24am UTC](https://discourse.julialang.org/t/wrap-and-inherit-number/4799 "2017-07-12T11:24:34Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)
#### Post date: [July 12, 2017, 1:58pm UTC](https://discourse.julialang.org/t/wrap-and-inherit-number/4799/16 "2017-07-12T13:58:03Z")

</div>

Sounds great. I’m working on the tests now, but this whole thing is just for my [idea](https://discourse.julialang.org/t/should-there-be-a-native-angle-type/4611) with the `Angle` type. I defined all the functions needed for the conversions and the trigonometry, but now “all” I need is for this Angle type to behave like a `Number` (or `AbstractFloat`) in every other situation…

---

_[View the full topic](https://discourse.julialang.org/t/wrap-and-inherit-number/4799)._
