Page 1 of 1
Entity Automatically Shortens Value
Posted: Sat Mar 31, 2007 9:00 am
by Shadowz_O_Death
Hello everyone! For some reason, when I try entering 1.57079633 in Entity as a value of something, it automatically shortens it and changes it to 1.570796. Is it Entity or the plugin it is using? How do I prevent this? Thank you very much!
Regards,
Shadowz_O_Death
Re: Entity Automatically Shortens Value
Posted: Sat Mar 31, 2007 9:09 am
by -DeToX-
Shadowz_O_Death wrote:Hello everyone! For some reason, when I try entering 1.57079633 in Entity as a value of something, it automatically shortens it and changes it to 1.570796. Is it Entity or the plugin it is using? How do I prevent this? Thank you very much!
- Jason
Its .NET's fault. It's binaryWriter rounds it to the nearest number usable.
It really doesn't make a difference and shouldnt.
Re: Entity Automatically Shortens Value
Posted: Sat Mar 31, 2007 9:16 am
by Shadowz_O_Death
-DeToX- wrote:Shadowz_O_Death wrote:Hello everyone! For some reason, when I try entering 1.57079633 in Entity as a value of something, it automatically shortens it and changes it to 1.570796. Is it Entity or the plugin it is using? How do I prevent this? Thank you very much!
- Jason
Its .NET's fault. It's binaryWriter rounds it to the nearest number usable.
It really doesn't make a difference and shouldnt.
I see. Thank you very much!
Regards,
Shadowz_O_Death