Entity Automatically Shortens Value

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
User avatar
Shadowz_O_Death




Connoisseur

Posts: 188
Joined: Wed Nov 01, 2006 8:38 am
Location: Pittsburgh, PA Xlink: Shadowz_O_Death

Entity Automatically Shortens Value

Post 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
Last edited by Shadowz_O_Death on Thu Sep 20, 2007 4:08 pm, edited 1 time in total.
-DeToX-




Illusionist Recreator Connoisseur Acolyte
Sigma Decryptor Droplet Pyre
Blacksmith Socialist New Age System Engineer
ONI

Posts: 4589
Joined: Sun Jun 18, 2006 3:58 pm
Location: ...

Re: Entity Automatically Shortens Value

Post 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.
Image
User avatar
Shadowz_O_Death




Connoisseur

Posts: 188
Joined: Wed Nov 01, 2006 8:38 am
Location: Pittsburgh, PA Xlink: Shadowz_O_Death

Re: Entity Automatically Shortens Value

Post 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
Post Reply