> For the complete documentation index, see [llms.txt](https://functionzero.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://functionzero.gitbook.io/docs/libraries/maui.bindzero/casting.md).

# Casting

Functions and assignments will try to cast to the correct type, so `Sin(someFloat)` will work despite `Sin` requiring a *double*&#x20;

If you want to explicitly cast you can do so like this: `Sin((Double)someFloat)` See [`ExpressionParserZero.Operands.OperandType`](https://github.com/Keflon/FunctionZero.ExpressionParserZero#casting) for details.
