User tests: Successful: Unsuccessful:
Pull Request for Issue #41710 .
revert parts from #41710
@brianteeman @HLeithner
com_finder: uses number_format
plg_content_vote: is float
joomla-cms/plugins/content/vote/tmpl/rating.php
Lines 53 to 58 in d3589c9
finderindex: uses round
com_finder/statistics: values above 1000
plg_content_vote: two votes (5+4)/2=4.5
finderindex: run cli/joomla.php findex:index
Please select:
Category | ⇒ | Administration Language & Strings |
Status | New | ⇒ | Pending |
I have tested this item ✅ successfully on 081e913
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
Language Change
PR-5.0-dev
|
RTC
Rather than string can we use %f
for a float? It is still a number at the end of the day.
does %f work @heelc29 ?
The first one com_finder.ini: No because it is a string - see https://www.php.net/manual/en/function.number-format.php
The others: There is a different for number of digits to be printed after the decimal point (by default, this is 6) https://www.php.net/manual/en/function.sprintf.php
Example:
value: 45.12
output (s) 45.12
output (f) 45.120000
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-13 21:38:45 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
?
|
I merge this for now
I have tested this item ✅ successfully on 081e913
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41740.