generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: WHYYYYYYYYYYY

Previous Thread :: Next Thread 
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
20 Jul 2012 04:33 PM
workspace.Part.Position = Vector3.new(0, 4, 0)

print(tostring(workspace.Part.Position))

>0, 3.999999994, 0

ASFEEAFSDAFASFSA
Report Abuse
DrAgonmoray is not online. DrAgonmoray
Joined: 29 Jul 2008
Total Posts: 17428
20 Jul 2012 04:34 PM
...



....


....



fffffffffffuuuuUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
Report Abuse
Garnished is not online. Garnished
Joined: 09 Apr 2012
Total Posts: 12695
20 Jul 2012 04:35 PM
...
...
...
...


~Friends are like potato chips, you eat them they die.~
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
20 Jul 2012 04:35 PM
Definitely a bug, I'll let someone know.
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
20 Jul 2012 04:38 PM
How exactly did you do that? I can't reproduce it.
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
20 Jul 2012 05:15 PM
>I can't reproduce

we know
Report Abuse
imcoolfire8 is not online. imcoolfire8
Joined: 23 Nov 2009
Total Posts: 3008
20 Jul 2012 05:18 PM
XD

I punch trees and kill pigs.
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
20 Jul 2012 05:37 PM
@strav

that's the problem, this happens at complete random times for no reason.
Report Abuse
NinjaShadow1 is not online. NinjaShadow1
Joined: 03 Mar 2009
Total Posts: 2689
20 Jul 2012 06:37 PM
I just reproduced it successfully.
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Jul 2012 06:40 PM
@su8

HAHAHAHAHAHAHAHAHAHAHAH thanks so much for that. In the future use FTFY though to make it more like the front page of the internet :3
Report Abuse
TheCapacitor is not online. TheCapacitor
Joined: 19 Jan 2011
Total Posts: 7045
20 Jul 2012 07:03 PM
Relevant: v=UnuUiqc1g4M
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
20 Jul 2012 07:21 PM
I was able to reproduce a similar situation twice in two different places

workspace.Part.Position = Vector3.new(0, 3.9, 0) print(tostring(workspace.Part.Position))

>0, 3.9000001, 0
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
20 Jul 2012 08:56 PM
I hate how that happens all the time with UDim2s. It's truly annoying.
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
20 Jul 2012 09:24 PM
@ArceusInator
That's totally expected though. 3.9 can't be exactly represented as a double, so there's the very small discrepancy. What is odd is that it should not happen with 4.
Report Abuse
ChaosStar95 is not online. ChaosStar95
Joined: 19 Feb 2009
Total Posts: 5943
20 Jul 2012 09:55 PM
Just round the number and move on with your life.
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
20 Jul 2012 09:59 PM
@Chaos

no maths function for that, only rounds to whole numbers. :(
Report Abuse
nickmaster24 is not online. nickmaster24
Joined: 04 Oct 2008
Total Posts: 8906
20 Jul 2012 10:01 PM
Lol xD

Read the top comments xD
v=QAMb-LwWVl4

~Read Between The Squiggles~
Report Abuse
ChaosStar95 is not online. ChaosStar95
Joined: 19 Feb 2009
Total Posts: 5943
20 Jul 2012 10:01 PM
We can't round to specific significant figures?!
*deskflip*
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
20 Jul 2012 11:09 PM
That's why you CFrame! =3
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Jul 2012 11:13 PM
function round(num,r)
return math.floor(num/r+.5)*r
end

There, have fun.
Report Abuse
Techboy6601 is not online. Techboy6601
Joined: 29 Jun 2009
Total Posts: 4914
21 Jul 2012 01:50 AM
OCD RAGE
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
21 Jul 2012 05:00 AM
while wait(0.1) do
a = Instance.new("Part", game.Workspace)
a.Position = Vector3.new(0, 4, 0)
print("y position is "..a.Position.Y)
a:Destroy()
end

>y position is 4
>y position is 4
>y position is 4
>y position is 4

*Inserts lag bomb*

>y position is 3.6625657081604
>y position is 3.1531376838684
>y position is 3.416850566864
>y position is 3.7168509960175
>y position is 3.2531373500824
>y position is 3.5168509483337

I guess this is because I didn't anchor it...
Report Abuse
Nathanjustrocks is not online. Nathanjustrocks
Joined: 06 May 2012
Total Posts: 626
21 Jul 2012 05:01 AM
ASDF
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image