KM to Miles How does PD do math?

  • Thread starter RIPCDE
  • 30 comments
  • 3,333 views
364
CDERIP
The Miles to KM exchange rate in GT5 is messed up.

I buy a car with 21383 KM on it in the UCD, which on planet Earth equals 13286.78 miles. When I get it back in my garage and it has 13364.3 miles.

Its the same for every car in my garage(except the 0 miles cars that is).

I love this game, but its hard to trust a driving games physics from a company that can't convert KM to miles. :dunce:
 
1.6 is a simplified way to convert.
I wouldn't worry about it if I were you.
Also I would use metric system.

First of all Im not worried:nervous: about it, and I agree multiply miles by 1.6 is a "simplified way to convert". The only problem is that PD doesn't see it that way:dopey:
 
If my Math is right, it's only a ~0.58% increase once it arrives in the Garage.
 
Last edited:
The Miles to KM exchange rate in GT5 is messed up.

I buy a car with 21383 KM on it in the UCD, which on planet Earth equals 13286.78 miles. When I get it back in my garage and it has 13364.3 miles.

Its the same for every car in my garage(except the 0 miles cars that is).

I love this game, but its hard to trust a driving games physics from a company that can't convert KM to miles. :dunce:

Does the other more static conversion covert well ie. the weight of the car or even the total mileage (when it's already in the garage). If they do, then I wouldn't worry about something that has added variable(s).
 
You have to account for driving the car to your garage. Do you think you bought the used car and it already was in your garage?:dopey:
 
The Miles to KM exchange rate in GT5 is messed up.

I buy a car with 21383 KM on it in the UCD, which on planet Earth equals 13286.78 miles. When I get it back in my garage and it has 13364.3 miles.

Its the same for every car in my garage(except the 0 miles cars that is).

I love this game, but its hard to trust a driving games physics from a company that can't convert KM to miles. :dunce:
Tell me about it, and I hate metric with a passion...
 
If they used a simplified conversion, it is sheer laziness on the programmer's part. If we were doing this in our heads - ok, or on paper, sure, but with a computer?

You have to account for driving the car to your garage. Do you think you bought the used car and it already was in your garage?:dopey:

Good call :)
 
I did some research once I read the OP:

Code:
listing cars bought from UCD to find out if 
GT5 converts km to MPH by dividing with 1.6

Mileage km - mile - km/mile (no rounding , just 5 first digits)

77.3km - 48.3 miles - 1.60041
8412km - 5257.5 miles - 1.6
64925.4km - 40578.4 miles - 1.59999
9991.8km - 6244.9 miles - 1.59999
38655km - 24159.3 miles - 1.60000
2621.9km - 1638.6 miles - 1.60008
4020km - 2512.5 miles - 1.6
999km - 624.3 miles - 1.60019
574.3km - 358.9 miles - 1.60016
1329.4km - 830.8 miles - 1.60014
319.4km - 199.6 miles - 1.60020
6277.3km - 3923.3 miles - 1.6000
55580.3km - 34737.7 miles - 1.59999
44997km - 28123.1 miles - 1.60000
6999.8km - 4374.9 miles - 1.59999
388km - 242.5 miles - 1.6
4004km - 2502.5 miles - 1.6
11820.6km - 7387.8 miles - 1.60001
2178km - 1361.2 miles - 1.60005
4741.3km - 2963.3 miles - 1.60000
41017km - 25635.6 miles - 1.60000
12659.3km - 7912.1 miles - 1.59999
59590.3km - 37243.9 miles - 1.60000
16875.5km - 10547.2 miles - 1.59999
51191.2km - 31994.5 miles - 1.6
74886km - 46803.7 miles - 1.60000
77803km - 48626.8 miles - 1.60000
2019km - 1261.8 miles - 1.60009
59151km - 36969.3 miles - 1.60000
98259km - 61411.8 miles - 1.60000
59464km - 37165 miles - 1.6
15707km - 9816.8 miles - 1.60001
47700.4km - 29812.7 miles - 1.60000
9757.7km - 6098.6 miles - 1.59999
60196km - 37622.5 miles - 1.6
66741km - 41713.1 miles - 1.60000
74925km - 46828.1 miles - 1.60000
59316km - 37072.5 miles - 1.6
95097km - 59435.6 miles - 1.60000
57578km - 35986.2 miles - 1.60000
90948km - 56842.5 miles - 1.6
5156km - 3222.5 miles - 1.6
399249km - 249530.6 miles - 1.60000
33070km - 20668.7 miles - 1.60000
77564km - 48477.5 miles - 1.6
28764km - 17977.5 miles - 1.6
4375.1km - 2734.4 miles - 1.60002
1059km - 661.8 miles - 1.60018
13932.7km - 8707.9 miles - 1.60000
2914km - 1821.2 miles - 1.60004
47490.2km - 29681.4 miles - 1.59999
4820.3km - 3012.6 miles - 1.60004

Collected from (52) cars. (garage-standard/order used) kilometers.
Changed to miles , back to typing..
Divided mileage kilometers by mileage miles.


It seems like , the game converts from kilometers to miles and the other way around by using 1.6 to divide/multiply.



MadMax
 
You are right - they got the conversion wrong (and 1.6 to approximate does not count - it's a fraction in code, a constant, they could have got it right).

But..... it doesn't matter - other than some bad math. Look at it this way - the game is based in km..... so the mileage you see is a conversion based on the km. So my point is there is no other impact other than the mileage displaying incorrectly (it's not like you are putting more miles on because you prefer miles not km).

But, does this mean they also screwed up the MPH display while driving if speed is based on KM/hr and they used the same 1.6 'fudge' factor????? I know it doesn't mean anything other than the display is wrong - but when I'm going 100mph I want to know it's really 100mph. This game is supposed to be a simulator after all......
 
You are right - they got the conversion wrong (and 1.6 to approximate does not count - it's a fraction in code, a constant, they could have got it right).

But..... it doesn't matter - other than some bad math. Look at it this way - the game is based in km..... so the mileage you see is a conversion based on the km. So my point is there is no other impact other than the mileage displaying incorrectly (it's not like you are putting more miles on because you prefer miles not km).

But, does this mean they also screwed up the MPH display while driving if speed is based on KM/hr and they used the same 1.6 'fudge' factor????? I know it doesn't mean anything other than the display is wrong - but when I'm going 100mph I want to know it's really 100mph. This game is supposed to be a simulator after all......

Sooo, it only matters if it matters to you. :rolleyes::)
 
Last edited:
But, does this mean they also screwed up the MPH display while driving if speed is based on KM/hr and they used the same 1.6 'fudge' factor????? I know it doesn't mean anything other than the display is wrong - but when I'm going 100mph I want to know it's really 100mph. This game is supposed to be a simulator after all......

I have been thinking of this myself too and I've done some max speed runs.
Watched the replay in km/h and mph.

Lets take this example:

417km/h / 259 MPH - TVR Cerbera Speed 12 - Speeds from the replay viewed in boght units.


If the number used to convert miles/kilometers was 1.6 this is what the other unit should look like on the same replay.
417 / 1.6 = 260.625
259 * 1.6 = 414.4

So the answer is no , the speed shown in boght units is not divided/multiplied by 1.6.
There are thought no exact speeds availeble , just the rounded full units.
Thus what looks like 100 MPH may be 100.1 MPH or maybe 100.2 MPH

It seems like the mileage and speed are done using different value for conversion.



MadMax
 
5 miles = 8 KM

So PD should do Miles * 1.6 to get KM.

Definately not...
--

I don't see the big problem though. Nobody's using both miles and kilometres... and I don't suppose that if you change from km to miles and then back to km again that there would be an increase in distance.
 
Tell me about it, and I hate metric with a passion...

I'm from Europe and I seriously never understood why people would prefer imperial over metric. If you can count to 10 you can use metrics, but to use imperial you must be some kind of maths teacher.

Ok, if you're born in a country that uses imperial I can understand why you would use both imperial and metric.. but how can anyone hate metric?
 
I'm from Europe and I seriously never understood why people would prefer imperial over metric. If you can count to 10 you can use metrics, but to use imperial you must be some kind of maths teacher.

Ok, if you're born in a country that uses imperial I can understand why you would use both imperial and metric.. but how can anyone hate metric?

It's just familiarity. You use these scales of measurements to compare it against others. By itself it's just a useless number/calculation unless you have something to compare it with. I'm not familiar with kilometres because i've never used them so I can't gauge it with anything. Think Jarhead, where he uses the length of football fields to judge a distance, it's the same basic principle.

It's quite odd, here in the UK we use the metric system for just about everything now, except road signs, markings etc. which use Miles and yards for smaller distances. I was also taught to use stones and pounds for weight measurements, whereas in the US (Where I believe it's predominantly imperial?) they use Kilos for weight which is a metric measurement (I think, is it the same as Kg or is there a subtle difference?).
 
It's just familiarity. You use these scales of measurements to compare it against others. By itself it's just a useless number/calculation unless you have something to compare it with. I'm not familiar with kilometres because i've never used them so I can't gauge it with anything. Think Jarhead, where he uses the length of football fields to judge a distance, it's the same basic principle.

It's quite odd, here in the UK we use the metric system for just about everything now, except road signs, markings etc. which use Miles and yards for smaller distances. I was also taught to use stones and pounds for weight measurements, whereas in the US (Where I believe it's predominantly imperial?) they use Kilos for weight which is a metric measurement (I think, is it the same as Kg or is there a subtle difference?).

I thought the US use pounds (lbs) to measure weight.

Am I right? The Americans measure weight in pounds, right?
 
Last edited:
So PD can't even get unit conversions right ... makes you think about many other puzzling choices or strange things in the game. Maybe they weren't intentional.
 
Maybe if you guys were converting your math correctly then you wouldn't have this issue. 1 mile IS NOT 1.6km!! This actually happened in GT4 aswell so it was easier to discover for me because you could double check in that game from swapping over between km/h & mph in the in-menu option screen whereas in this one you have to do it from the garage mileage.

Here's the PROPER km/mile conversion math to 4 decimal places.
1.6093km = 1 mile.
1km = 0.6214 mile.

So if you convert it THAT way, you will see the similarities occur with your cars mileage in the garage. It will work better for you if you convert from km to mileage I've noticed. 👍

Also, take into account that PD change the speed on the clock when it's over .50 from the speed. So for example if you are doing 320.4km/h, it will show 320, but if you are doing 320.6km/h, it will show 321 on your speedo. It makes it hard to judge exactly what speed, but with km/h being smaller increments, it makes it more accurate to judge speed in my opinion. :)
 
Maybe if you guys were converting your math correctly then you wouldn't have this issue. 1 mile IS NOT 1.6km!! This actually happened in GT4 aswell so it was easier to discover for me because you could double check in that game from swapping over between km/h & mph in the in-menu option screen whereas in this one you have to do it from the garage mileage.

Here's the PROPER km/mile conversion math to 4 decimal places.
1.6093km = 1 mile.
1km = 0.6214 mile.

So if you convert it THAT way, you will see the similarities occur with your cars mileage in the garage. It will work better for you if you convert from km to mileage I've noticed. 👍

Also, take into account that PD change the speed on the clock when it's over .50 from the speed. So for example if you are doing 320.4km/h, it will show 320, but if you are doing 320.6km/h, it will show 321 on your speedo. It makes it hard to judge exactly what speed, but with km/h being smaller increments, it makes it more accurate to judge speed in my opinion. :)

Hey Mafs , I did my math to find out how mileage is converted.

You may be right about that 320.6 km/h is shown as 321 in.
It was like this in GT4 , but can't say for sure about GT5 as I have not enought speeds collected to compare..

I agree with the highlighted part. 👍

Mileage is converted wrong , but speed seems to be more accuratedly converted.



MadMax
 
But, does this mean they also screwed up the MPH display while driving if speed is based on KM/hr and they used the same 1.6 'fudge' factor????? I know it doesn't mean anything other than the display is wrong - but when I'm going 100mph I want to know it's really 100mph. This game is supposed to be a simulator after all......

Actually if we go with the "supposed to be a simulator" argument then the speed show while driving should be of by a few percent in most cases.

Only very few, if any, cars show speed based upon GPS or radar so they must rely on how fast the wheels are turning and an number for how much distance is covered for each revolution. Only how much distance is covered by a revolution changes with wheels size (which changes with tire wear, tire temperatur), slip plus the tires on the inside in a turn makes fewer revolutions than those on the outside. In conclusion I think 1.6 is fine as there are other more important factors at play :)


PS. At least the clock in GT5 seem right. I remember the old PGR, or was it PGR2, which used the TV frame rate as base for it's clock only it did not take into account NTSC is 24 fps while PAL is 25 FPS. As a result the clock on a PAL system would run to fast making the time challenges a little extra challenging :scared:
 
It's just familiarity. You use these scales of measurements to compare it against others. By itself it's just a useless number/calculation unless you have something to compare it with. I'm not familiar with kilometers because I've never used them so I can't gauge it with anything. Think Jarhead, where he uses the length of football fields to judge a distance, it's the same basic principle.

It's quite odd, here in the UK we use the metric system for just about everything now, except road signs, markings etc. which use Miles and yards for smaller distances. I was also taught to use stones and pounds for weight measurements, whereas in the US (Where I believe it's predominantly imperial?) they use Kilos for weight which is a metric measurement (I think, is it the same as Kg or is there a subtle difference?).

Case in point. I hate the imperial system, because I always have to question how close a yard is to a meter, how close a mile is to a kilometer, how many feet are in a mile, and so on. However, I have some weird preferences that I've developed over time.

When drawing, I always use centimeters to measure things equally; for example, if I'm measuring out even-looking letters on a page, I'll go by, say, 3 cm over and over. Also, if I'm using Google Sketchup, I always use a metric measurement system over imperial for any models.

However, when doing construction-related work in real life, I use imperial to measure things out (we're doing a huge reno, so I've been doing that a lot lately), using 1/8ths, 3/16ths, half inches, and so on.

When measuring car speed, I find it difficult to accurately gauge speed in miles if it's roughly under 100-or-more-ish kph. So if somebody says, "I was going 30 miles an hour down that road," it doesn't mean very much to me. However, if somebody says "I was going 90 kph down that road," it suddenly makes a lot more sense.

On the other end of the scale, I cannot for the life of me figure out how fast a car is going when it's hitting its top speed, especially supercars, if it's in kph. I've developed a standard of how fast a car can go based on the 200 mph mark, which was like a milestone for many supercars. (nowadays, there are like, 30 production cars that can breach it, but years ago it was more rare). So if you tell me that the new Porsche 911 Turbo can hit only 160 mph, unlimited, then I'll be a bit disappointed, considering how fast that car is supposed to be. If you tell me it can actually do 195 or 200 mph, then that starts to seem more realistic to me.

Conversely, if you were to tell me that it can do 355 kph, you've just lost me. I have no clue how fast that is, and I always have to put it into miles to gauge it.

Things like this are the reason that some people prefer metric over imperial, but, even though I sometimes use imperial, I prefer metric. I mean, it's so easy, and doesn't require any dumb 1-2-3 counting when figuring out how many thirty-secondths are in that measurement. It's just straightforward.
 
Hey Mafs , I did my math to find out how mileage is converted.

You may be right about that 320.6 km/h is shown as 321 in.
It was like this in GT4 , but can't say for sure about GT5 as I have not enought speeds collected to compare..

I agree with the highlighted part. 👍

Mileage is converted wrong , but speed seems to be more accuratedly converted.



MadMax

I know you did Maxie, I was referring to the other posters in the thread. 👍
 
I'm from Europe and I seriously never understood why people would prefer imperial over metric. If you can count to 10 you can use metrics, but to use imperial you must be some kind of maths teacher.

Ok, if you're born in a country that uses imperial I can understand why you would use both imperial and metric.. but how can anyone hate metric?
Imperial really isn't that hard. But then again, Metric isn't hard for you since that's what you're used to.

The reason I hate Metric is because there are too many prefixes....
 
I have been thinking of this myself too and I've done some max speed runs.
Watched the replay in km/h and mph.

Lets take this example:

417km/h / 259 MPH - TVR Cerbera Speed 12 - Speeds from the replay viewed in boght units.


If the number used to convert miles/kilometers was 1.6 this is what the other unit should look like on the same replay.
417 / 1.6 = 260.625
259 * 1.6 = 414.4

So the answer is no , the speed shown in boght units is not divided/multiplied by 1.6.
There are thought no exact speeds availeble , just the rounded full units.
Thus what looks like 100 MPH may be 100.1 MPH or maybe 100.2 MPH

It seems like the mileage and speed are done using different value for conversion.



MadMax

That was important. Who cares for a 0.5% offset in odometer?
 
Back