Quote from osccresp on January 9, 2025, 3:29 pmGood afternoon.
I developed long ago a software for elaborating quotations in spanish language and international english. Currently we need to expand these to USA so there is a request to make an option with the dates and numbers formatted in Imperial instead.
I can't find the option or how to do it.
ANy help??
Good afternoon.
I developed long ago a software for elaborating quotations in spanish language and international english. Currently we need to expand these to USA so there is a request to make an option with the dates and numbers formatted in Imperial instead.
I can't find the option or how to do it.
ANy help??

Quote from DaviddeArgentina on January 10, 2025, 6:22 pmWelcome to forum / Bienvenido al foro @oscresp
After searching for "imperial date or imperial numbers", the answer is resounding: zero responses.
What you are asking is probably wrong or poorly stated.
If dates and numbers are referred to in a program with international scope, you must leave in the configuration of your program the formats that adapt to what the client prefers, or directly relate it to the location of the device.
The programmer's job is hard...
Successes!
Luego de buscar "fecha imperial o números imperiales", la respuesta es contundente: cero respuestas.
Probablemente lo que estas preguntando sea equivocado o mal planteado.
Si de fechas y números se refiere en un programa de alcance internacional, debes dejar en la configuración de tu programa los formatos que se adecuen a lo que el cliente prefiera, o bien directamente, relacionarlo con el locale del dispositivo.
Duro el trabajo del programador...
Exitos!
Welcome to forum / Bienvenido al foro @oscresp
After searching for "imperial date or imperial numbers", the answer is resounding: zero responses.
What you are asking is probably wrong or poorly stated.
If dates and numbers are referred to in a program with international scope, you must leave in the configuration of your program the formats that adapt to what the client prefers, or directly relate it to the location of the device.
The programmer's job is hard...
Successes!
Luego de buscar "fecha imperial o números imperiales", la respuesta es contundente: cero respuestas.
Probablemente lo que estas preguntando sea equivocado o mal planteado.
Si de fechas y números se refiere en un programa de alcance internacional, debes dejar en la configuración de tu programa los formatos que se adecuen a lo que el cliente prefiera, o bien directamente, relacionarlo con el locale del dispositivo.
Duro el trabajo del programador...
Exitos!

Quote from DaviddeArgentina on January 10, 2025, 6:25 pmQuote from DaviddeArgentina on January 10, 2025, 6:22 pmWelcome to forum / Bienvenido al foro @oscresp
After searching for "imperial date or imperial numbers", the answer is resounding: zero responses.
What you are asking is probably wrong or poorly stated.
If dates and numbers are referred to in a program with international scope, you must leave in the configuration of your program the formats that adapt to what the client prefers, or directly relate it to the location of the device.
The programmer's job is hard...
Successes!
Luego de buscar "fecha imperial o números imperiales", la respuesta es contundente: cero respuestas.
Probablemente lo que estas preguntando sea equivocado o mal planteado.
Si de fechas y números se refiere en un programa de alcance internacional, debes dejar en la configuración de tu programa los formatos que se adecuen a lo que el cliente prefiera, o bien directamente, relacionarlo con el locale del dispositivo.
Duro el trabajo del programador...
Exitos!
Quote from DaviddeArgentina on January 10, 2025, 6:22 pmWelcome to forum / Bienvenido al foro @oscresp
After searching for "imperial date or imperial numbers", the answer is resounding: zero responses.
What you are asking is probably wrong or poorly stated.
If dates and numbers are referred to in a program with international scope, you must leave in the configuration of your program the formats that adapt to what the client prefers, or directly relate it to the location of the device.
The programmer's job is hard...
Successes!
Luego de buscar "fecha imperial o números imperiales", la respuesta es contundente: cero respuestas.
Probablemente lo que estas preguntando sea equivocado o mal planteado.
Si de fechas y números se refiere en un programa de alcance internacional, debes dejar en la configuración de tu programa los formatos que se adecuen a lo que el cliente prefiera, o bien directamente, relacionarlo con el locale del dispositivo.
Duro el trabajo del programador...
Exitos!
Quote from mishem on January 11, 2025, 2:09 amQuote from DaviddeArgentina on January 10, 2025, 6:22 pmAfter searching for "imperial date or imperial numbers", the answer is resounding: zero responses.
At this point, the largest reason we still cling to the imperial system is inertia. So much is in place that we think of via imperial measurements - your weight is in pounds, your height in inches, your milk in gallons, and so on - that at this point it would be a lot of work to change.
https://history.stackexchange.com/questions/12089/why-does-the-united-states-keep-using-old-date-representations-and-imperial-sy
Quote from DaviddeArgentina on January 10, 2025, 6:22 pmAfter searching for "imperial date or imperial numbers", the answer is resounding: zero responses.
At this point, the largest reason we still cling to the imperial system is inertia. So much is in place that we think of via imperial measurements - your weight is in pounds, your height in inches, your milk in gallons, and so on - that at this point it would be a lot of work to change.
Quote from Gaev on January 11, 2025, 2:18 am@osccresp
Something is getting lost in the translation (to English) ... perhaps you can explain your requirement with some example(s) ?
Something is getting lost in the translation (to English) ... perhaps you can explain your requirement with some example(s) ?
Quote from mishem on January 11, 2025, 2:32 amQuote from osccresp on January 9, 2025, 3:29 pmI can't find the option or how to do it.
https://yandex.ru/yandsearch?text=Metric+to+Imperial+Converter&lr=103052&clid=2472914
https://translated.turbopages.org/proxy_u/en-ru.ru.97ab1666-6781bbd8-1f4543b1-74722d776562/https/stackoverflow.com/questions/66285967/converting-metric-to-imperial
Understand and write your own functions.
Quote from osccresp on January 9, 2025, 3:29 pmI can't find the option or how to do it.
https://yandex.ru/yandsearch?text=Metric+to+Imperial+Converter&lr=103052&clid=2472914
Understand and write your own functions.
Quote from mishem on January 11, 2025, 2:46 amQuote from Gaev on January 11, 2025, 2:18 am@osccresp
Something is getting lost in the translation (to English) ... perhaps you can explain your requirement with some example(s) ?
I have level two telepathy. :)
I daresay he needs to convert the metric system to the imperial system and translate it all into text.
One kilometer one hundred meters fifty centimeters = seven hundred seventy-one miles six inches one foot one hundred three yards five furlongs.
Something like that, if I understood correctly.
Quote from Gaev on January 11, 2025, 2:18 amSomething is getting lost in the translation (to English) ... perhaps you can explain your requirement with some example(s) ?
I have level two telepathy. :)
I daresay he needs to convert the metric system to the imperial system and translate it all into text.
One kilometer one hundred meters fifty centimeters = seven hundred seventy-one miles six inches one foot one hundred three yards five furlongs.
Something like that, if I understood correctly.
Quote from Gaev on January 11, 2025, 8:04 pmThanks for the example @mishem ... here in Canada, we are stuck with both systems ... officially we have been metric for over 45 years, but stores still show prices in both systems ... inertia for older folk, but really confusing for school kids, who are not taught anything from the Imperial System ... good news is that it won't be long before the old fogies (like me) pass away; problem solved.
As for the USA, it is a matter of Economics ... change would involve trillions of dollars ... so, no solution in sight.
Thanks for the example @mishem ... here in Canada, we are stuck with both systems ... officially we have been metric for over 45 years, but stores still show prices in both systems ... inertia for older folk, but really confusing for school kids, who are not taught anything from the Imperial System ... good news is that it won't be long before the old fogies (like me) pass away; problem solved.
As for the USA, it is a matter of Economics ... change would involve trillions of dollars ... so, no solution in sight.
Quote from Nickj_UK on March 18, 2025, 12:07 am"software for elaborating quotations in spanish language and international english"
I'm guessing that this is a financial (bill/estimate/costing) rather than a textual quote.
Also I'm not sure what you are actually looking forDates will be different formats , today could be 17 03 2025, DD/MM/YYYY which is fairly short form common europe. More formally a short form written in the UK would be 17th March 2025, in Spain Marzo 17, 2025 and in the US the standard format is MM/DD/YY. The saving grace for handling the dates for you is that the written form is 17 March 2025. So printing a date just needs to print or display the month component by substituting the name of the month.
Money we don't need to worry about, it just requires a $ symbol, it's all in base 10.
In the terms of implementing this in an app it would be simplest to have a set of global rules in the form of a few macros that are specific for a lanuage or location and are like overlays to your your basic functions.
Weights and measures are maybe a bit of a pain but luckily in the US they mostly seem to customarily use pounds for smaller weights (up to a ton), feet and inches and gallons for volumes. Of these the feet and inches are the most painful if you have to convert from metres.
1 metre is 3.28084 feet and 1 metre is 39.3700787402 inches so:
Multiply a measurement in metres by 3.28 and ignore the fractions gives you the feet
Multiply the same measurement in metres by 39.37. then subtract the number of feet (the answer from above *12) gives you the remaining inches.
So a demonstration!
Our base length to convert is 2.5 M
2.5 * 39.37 = 8.2 feet and 8 feet is 8 * 12 = 96 inches
2.5 * 3.28 = 98.425 inches and 98.425 - 96 = 2.425 inches
Which gives us 2.5M = 8 feet 2 inches.
The .425 is the remainder and is around 1/2 inch its inclusion depends on the required accuracy.
Pretty simple math to add a conversion without using web based services, most tend to convert either M -> Feet or M -> inches so you need to do the simple maths anyway.
If you need to be more accurate it becomes messier in some cases, engineers would be happy with a decimal fraction for example 0.001 inch but many might be happier with say 3/16 inch or 1/8 or whatever it might be (good luck with conversion to that!!). So unless you need accuracy I'd just keep the whole number of inches and drop everything after the decimal.So it would depend what you are trying to do and how your original app was structured.
"software for elaborating quotations in spanish language and international english"
I'm guessing that this is a financial (bill/estimate/costing) rather than a textual quote.
Also I'm not sure what you are actually looking for
Dates will be different formats , today could be 17 03 2025, DD/MM/YYYY which is fairly short form common europe. More formally a short form written in the UK would be 17th March 2025, in Spain Marzo 17, 2025 and in the US the standard format is MM/DD/YY. The saving grace for handling the dates for you is that the written form is 17 March 2025. So printing a date just needs to print or display the month component by substituting the name of the month.
Money we don't need to worry about, it just requires a $ symbol, it's all in base 10.
In the terms of implementing this in an app it would be simplest to have a set of global rules in the form of a few macros that are specific for a lanuage or location and are like overlays to your your basic functions.
Weights and measures are maybe a bit of a pain but luckily in the US they mostly seem to customarily use pounds for smaller weights (up to a ton), feet and inches and gallons for volumes. Of these the feet and inches are the most painful if you have to convert from metres.
1 metre is 3.28084 feet and 1 metre is 39.3700787402 inches so:
Multiply a measurement in metres by 3.28 and ignore the fractions gives you the feet
Multiply the same measurement in metres by 39.37. then subtract the number of feet (the answer from above *12) gives you the remaining inches.
So a demonstration!
Our base length to convert is 2.5 M
2.5 * 39.37 = 8.2 feet and 8 feet is 8 * 12 = 96 inches
2.5 * 3.28 = 98.425 inches and 98.425 - 96 = 2.425 inches
Which gives us 2.5M = 8 feet 2 inches.
The .425 is the remainder and is around 1/2 inch its inclusion depends on the required accuracy.
Pretty simple math to add a conversion without using web based services, most tend to convert either M -> Feet or M -> inches so you need to do the simple maths anyway.
If you need to be more accurate it becomes messier in some cases, engineers would be happy with a decimal fraction for example 0.001 inch but many might be happier with say 3/16 inch or 1/8 or whatever it might be (good luck with conversion to that!!). So unless you need accuracy I'd just keep the whole number of inches and drop everything after the decimal.
So it would depend what you are trying to do and how your original app was structured.
Quote from Nickj_UK on March 18, 2025, 12:38 amJust for fun...
When I was much younger I used to work in a shop selling vegetables that was some 50 years ago.
The products were weighed in pounds and ounces // 1 pound = 16 ounces
The products were priced in Pounds, shillings and pence // 12 pennies made one shilling, 20 shillings made one pound and just to add to the confusion there were half pennies, By then we had dropped 1/4 pennies and a few other coins!!
The coinage was also fun in rising values there were half pennies, pennies, 3 penny pieces, six penny pieces, a shilling (12 pennies). a half crown (30 pennies), a 10 shilling note (1/2 a pound) and one, five and ten pound notes. There were bigger notes but you didn't see them too often.
Once I did have two £50 notes, that was a godlike sum of money in the days of average pay of about £30 a month, a mars bar was about 3 pennies and little old ladies shopping for veg were mean human calculators!
You developed quite impressive skills at mental gymnastics working out the price for two carrots, an onion, a swede and a pound of potatoes all while being glared at by a fiesty old lady who'd probably already worked out how much she was going to pay.I was glad it all changed but have to say that the coins were much nicer than their modern equivalents.
Just for fun...
When I was much younger I used to work in a shop selling vegetables that was some 50 years ago.
The products were weighed in pounds and ounces // 1 pound = 16 ounces
The products were priced in Pounds, shillings and pence // 12 pennies made one shilling, 20 shillings made one pound and just to add to the confusion there were half pennies, By then we had dropped 1/4 pennies and a few other coins!!
The coinage was also fun in rising values there were half pennies, pennies, 3 penny pieces, six penny pieces, a shilling (12 pennies). a half crown (30 pennies), a 10 shilling note (1/2 a pound) and one, five and ten pound notes. There were bigger notes but you didn't see them too often.
Once I did have two £50 notes, that was a godlike sum of money in the days of average pay of about £30 a month, a mars bar was about 3 pennies and little old ladies shopping for veg were mean human calculators!
You developed quite impressive skills at mental gymnastics working out the price for two carrots, an onion, a swede and a pound of potatoes all while being glared at by a fiesty old lady who'd probably already worked out how much she was going to pay.
I was glad it all changed but have to say that the coins were much nicer than their modern equivalents.