# FIntVector vs FVector Discrepancy

**URL:** <https://forums.unrealengine.com/t/fintvector-vs-fvector-discrepancy/876887>\
**Category:** C++\
**Tags:** unreal-engine, CPP, question\
**Created:** [April 8, 2023, 12:02am UTC](https://forums.unrealengine.com/t/fintvector-vs-fvector-discrepancy/876887 "2023-04-08T00:02:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![User-b77d1a218a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@User-b77d1a218a](https://forums.unrealengine.com/u/User-b77d1a218a)\
**Post date:** [April 8, 2023, 12:02am UTC](https://forums.unrealengine.com/t/fintvector-vs-fvector-discrepancy/876887/1 "2023-04-08T00:02:25Z")

</div>

I have a pawn located at 10000000000.0, -174378570.0, 0.0. If I store this in an FVector, it then debugs as 10000000000.000, -174378570.000, 0.000. But if I store this in an FIntVector, it debugs as -2147483648, -174378570, 0.

Anyone know why the value of X is way off as an FIntVector?

---

<div class="post-metadata">

**Author:** ![malfrax](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@malfrax](https://forums.unrealengine.com/u/malfrax)\
**Post date:** [April 8, 2023, 6:08pm UTC](https://forums.unrealengine.com/t/fintvector-vs-fvector-discrepancy/876887/2 "2023-04-08T18:08:22Z")

</div>

It’s called an overflow. An int can manage up to 2147483647 and down to -2147483648. If you try to go outside this values, the data stored will overflow and your value will become uncertain. Float in the other hand can go a lot more but can became uncertain when it come to large value and decimal.  
I will advise you to avoid large values like this because it can screw things up without you noticing it.

---

<div class="post-metadata">

**Author:** ![User-b77d1a218a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@User-b77d1a218a](https://forums.unrealengine.com/u/User-b77d1a218a)\
**Post date:** [April 9, 2023, 5:03pm UTC](https://forums.unrealengine.com/t/fintvector-vs-fvector-discrepancy/876887/3 "2023-04-09T17:03:36Z")

</div>

Thanks for the response!
