Anyone Any Good With Decimal Points?

Distant Worlds is a vast, pausable real-time, 4X space strategy game which models a "living galaxy" with incredible options for replayability and customizability. Experience the full depth and detail of large turn-based strategy games, but with the simplicity and ease of real-time, and on the scale of a massively-multiplayer online game. Now greatly enhanced with the new Universe release, which includes all four previous releases as well as the new Universe expansion!

Moderators: Icemania, elliotg

Post Reply
User avatar
Darkspire
Posts: 1986
Joined: Thu Jun 12, 2003 8:07 pm
Location: My Own Private Hell

Anyone Any Good With Decimal Points?

Post by Darkspire »

I can do most things but decimal points do often get me thinking.

some examples:

I have a range of numbers from 0 > 1.0

so the numbers range from 0 to 0.999 then 1.0?

so 0.200 would be a fifth of the total value?

this is the one that gets me:

0.6

Is that .600 or .006?
Like 0.33 is that 0.330 or 0.033?

Thanks in advance of me not having a peanut meltdown [:)]

Darkspire
Oberst_Klink
Posts: 4922
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: Anyone Any Good With Decimal Points?

Post by Oberst_Klink »

ORIGINAL: Darkspire

I can do most things but decimal points do often get me thinking.

some examples:

I have a range of numbers from 0 > 1.0

so the numbers range from 0 to 0.999 then 1.0?

so 0.200 would be a fifth of the total value?

this is the one that gets me:

0.6

Is that .600 or .006?
Like 0.33 is that 0.330 or 0.033?

Thanks in advance of me not having a peanut meltdown [:)]

Darkspire
0.6 is 0.600, 0.33 is 0.330

remember... after the decimal point (or comma as we Germans use), it's 1/10th, then 1/100th, then 1/1000th etc.

Klink, Oberst

P.S. That reminds me of... the range display in sectors for the starship. Are there any plans to calculate or measure the range between star systems, e.g. a click and drag tape measure kinda thing? Would come in quite handy.
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
User avatar
Darkspire
Posts: 1986
Joined: Thu Jun 12, 2003 8:07 pm
Location: My Own Private Hell

RE: Anyone Any Good With Decimal Points?

Post by Darkspire »

Thanks. I can program in hex and can do math in it but decimal I never really used much, base 10 is a strange language to me.

I Googled the question 'Is 0.66 greater than 0.6' and it comes up with yes on numerous sources which would mean that 0.6 is .006 as .066 is greater but your saying that 0.6 is equal to .600?

Not star co-ords, values for the biases.txt in Shadows, just trying to work out ranges and values.

Darkspire
User avatar
Icemania
Posts: 1847
Joined: Wed Jun 05, 2013 9:14 am
Location: Australia

RE: Anyone Any Good With Decimal Points?

Post by Icemania »

LOL

...

LOL
User avatar
Darkspire
Posts: 1986
Joined: Thu Jun 12, 2003 8:07 pm
Location: My Own Private Hell

RE: Anyone Any Good With Decimal Points?

Post by Darkspire »

ORIGINAL: Icemania

LOL

...

LOL

And you can shut up as well [:D] I'm blonde,large and have problems when I have more numbers than fingers [:D]

Darkspire
Oberst_Klink
Posts: 4922
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: Anyone Any Good With Decimal Points?

Post by Oberst_Klink »

ORIGINAL: Darkspire

Thanks. I can program in hex and can do math in it but decimal I never really used much, base 10 is a strange language to me.

I Googled the question 'Is 0.66 greater than 0.6' and it comes up with yes on numerous sources which would mean that 0.6 is .006 as .066 is greater but your saying that 0.6 is equal to .600?

Not star co-ords, values for the biases.txt in Shadows, just trying to work out ranges and values.

Darkspire
Maybe it was a High-School teachers union google result? ;)

Look, in fractions 0.6 = 60/100 and 0.66 = 66/100; ergo the latter is higher.

Klink, Oberst
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
Canute0
Posts: 616
Joined: Fri Apr 30, 2010 10:43 am
Location: Germany

RE: Anyone Any Good With Decimal Points?

Post by Canute0 »

I Googled the question 'Is 0.66 greater than 0.6' and it comes up with yes on numerous sources which would mean that 0.6 is .006 as .066 is greater but your saying that 0.6 is equal to .600?

Maybe this can help you to understand it.
You allways say "Is 0.66 greater than 0.6" but you just think at numbers, maybe you should think at things or use a different scale.
Try to say is 0.66 Kg is greater then 0.6 Kg, so if you remember Kg means Kilo gramm, Kilo means 1000. So 0.66 Kg = 660 g and 0.6 Kg are 600 g.

User avatar
Icemania
Posts: 1847
Joined: Wed Jun 05, 2013 9:14 am
Location: Australia

RE: Anyone Any Good With Decimal Points?

Post by Icemania »

ORIGINAL: Darkspire
I can program in hex and can do math in it but decimal I never really used much, base 10 is a strange language to me.
Guys, if you want to help Darkspire, show some mercy and respond in Hex ...
User avatar
BigWolfChris
Posts: 665
Joined: Wed Mar 31, 2010 4:26 pm
Contact:

RE: Anyone Any Good With Decimal Points?

Post by BigWolfChris »

http://www.mathsisfun.com/decimals.html - might help you out

In any decimal, post number 0's are often not shown (like pre number 0's for normal numbers)

0.36
0.360
0.36000
0.36000000

These are all the same decimal in the same way as

4.0
04.0
0004.0
000004.0

Are all the same number
AMD Ryzen 7 2700X 8 Core @3.7GHz
2x16 GB Vengeance LPX 2666MHz RAM
MSI RTX 2070 Armor 8G
SSD Drive
User avatar
Darkspire
Posts: 1986
Joined: Thu Jun 12, 2003 8:07 pm
Location: My Own Private Hell

RE: Anyone Any Good With Decimal Points?

Post by Darkspire »

Thanks folks. I think I may at last understand the principles [:)]
ORIGINAL: Icemania
ORIGINAL: Darkspire
I can program in hex and can do math in it but decimal I never really used much, base 10 is a strange language to me.
Guys, if you want to help Darkspire, show some mercy and respond in Hex ...

I am never going to live this one down am I? [:D]

Darkspire
User avatar
Icemania
Posts: 1847
Joined: Wed Jun 05, 2013 9:14 am
Location: Australia

RE: Anyone Any Good With Decimal Points?

Post by Icemania »

If somebody had just said "0.FF is greater than 0.F and 0.F is equal to .F" ... then there would have been no confusion!
User avatar
BigWolfChris
Posts: 665
Joined: Wed Mar 31, 2010 4:26 pm
Contact:

RE: Anyone Any Good With Decimal Points?

Post by BigWolfChris »

But we were waiting for you to say it [;)]
AMD Ryzen 7 2700X 8 Core @3.7GHz
2x16 GB Vengeance LPX 2666MHz RAM
MSI RTX 2070 Armor 8G
SSD Drive
Post Reply

Return to “Distant Worlds 1 Series”