# Blueprint Math Expression: Fractions (like 1/3) are initialized as ints, become zero

**URL:** <https://forums.unrealengine.com/t/blueprint-math-expression-fractions-like-1-3-are-initialized-as-ints-become-zero/300315>\
**Category:** Blueprint\
**Tags:** math-expression, unreal-engine, bug-report, Blueprint, question\
**Created:** [December 2, 2014, 4:29am UTC](https://forums.unrealengine.com/t/blueprint-math-expression-fractions-like-1-3-are-initialized-as-ints-become-zero/300315 "2014-12-02T04:29:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoystickMonkey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JoystickMonkey](https://forums.unrealengine.com/u/JoystickMonkey)\
**Post date:** [December 2, 2014, 4:29am UTC](https://forums.unrealengine.com/t/blueprint-math-expression-fractions-like-1-3-are-initialized-as-ints-become-zero/300315/1 "2014-12-02T04:29:30Z")

</div>

If you input a math expression that has a fraction using whole numbers, the math expression uses the Int version of divide. As Int divide currently works, a fraction like 1/3 turns into zero.  
You can work around this by writing 1.0 / 3, but every time I put in 1/3 I expect to get 0.33333 out, not 0.
