/dports/www/moodle310/moodle/question/type/calculated/tests/ |
H A D | variablesubstituter_test.php | 116 $this->assertSame('0.12345', $vs->format_float(0.12345)); 118 $this->assertSame('0', $vs->format_float(0.12345, 0, 1)); 119 $this->assertSame('0.12', $vs->format_float(0.12345, 2, 1)); 122 $this->assertSame('0.12', $vs->format_float(0.12345, 2, 2)); 128 $this->assertSame('0,12345', $vs->format_float(0.12345)); 130 $this->assertSame('0', $vs->format_float(0.12345, 0, 1)); 131 $this->assertSame('0,12', $vs->format_float(0.12345, 2, 1)); 134 $this->assertSame('0,12', $vs->format_float(0.12345, 2, 2)); 141 $this->assertSame('NAN', $vs->format_float(NAN)); 142 $this->assertSame('INF', $vs->format_float(INF)); [all …]
|
/dports/www/moodle311/moodle/question/type/calculated/tests/ |
H A D | variablesubstituter_test.php | 116 $this->assertSame('0.12345', $vs->format_float(0.12345)); 118 $this->assertSame('0', $vs->format_float(0.12345, 0, 1)); 119 $this->assertSame('0.12', $vs->format_float(0.12345, 2, 1)); 122 $this->assertSame('0.12', $vs->format_float(0.12345, 2, 2)); 128 $this->assertSame('0,12345', $vs->format_float(0.12345)); 130 $this->assertSame('0', $vs->format_float(0.12345, 0, 1)); 131 $this->assertSame('0,12', $vs->format_float(0.12345, 2, 1)); 134 $this->assertSame('0,12', $vs->format_float(0.12345, 2, 2)); 141 $this->assertSame('NAN', $vs->format_float(NAN)); 142 $this->assertSame('INF', $vs->format_float(INF)); [all …]
|
/dports/www/moodle39/moodle/question/type/calculated/tests/ |
H A D | variablesubstituter_test.php | 124 $this->assertSame('0.12345', $vs->format_float(0.12345)); 126 $this->assertSame('0', $vs->format_float(0.12345, 0, 1)); 127 $this->assertSame('0.12', $vs->format_float(0.12345, 2, 1)); 128 $this->assertSame('0.1235', $vs->format_float(0.12345, 4, 1)); 130 $this->assertSame('0.12', $vs->format_float(0.12345, 2, 2)); 131 $this->assertSame('0.0012', $vs->format_float(0.0012345, 4, 1)); 136 $this->assertSame('0,12345', $vs->format_float(0.12345)); 138 $this->assertSame('0', $vs->format_float(0.12345, 0, 1)); 139 $this->assertSame('0,12', $vs->format_float(0.12345, 2, 1)); 140 $this->assertSame('0,1235', $vs->format_float(0.12345, 4, 1)); [all …]
|
/dports/www/moodle310/moodle/mod/feedback/item/numeric/ |
H A D | lib.php | 45 $range_from = $this->format_float($range_from_to[0]); 51 $range_to = $this->format_float($range_from_to[1]); 157 echo $this->format_float($value); 162 $avg = format_float($values->avg, 2); 215 protected function format_float($value) { function in feedback_item_numeric 220 return format_float($value, $decimal); 239 ': ' . $this->format_float($rangeto) . ')'; 243 ': ' . $this->format_float($rangefrom) . ')'; 248 return ' (' . $this->format_float($rangefrom) . 249 ' - ' . $this->format_float($rangeto) . ')'; [all …]
|
/dports/www/moodle311/moodle/mod/feedback/item/numeric/ |
H A D | lib.php | 45 $range_from = $this->format_float($range_from_to[0]); 51 $range_to = $this->format_float($range_from_to[1]); 157 echo $this->format_float($value); 162 $avg = format_float($values->avg, 2); 215 protected function format_float($value) { function in feedback_item_numeric 220 return format_float($value, $decimal); 239 ': ' . $this->format_float($rangeto) . ')'; 243 ': ' . $this->format_float($rangefrom) . ')'; 248 return ' (' . $this->format_float($rangefrom) . 249 ' - ' . $this->format_float($rangeto) . ')'; [all …]
|
/dports/www/moodle39/moodle/mod/feedback/item/numeric/ |
H A D | lib.php | 45 $range_from = $this->format_float($range_from_to[0]); 51 $range_to = $this->format_float($range_from_to[1]); 157 echo $this->format_float($value); 162 $avg = format_float($values->avg, 2); 215 protected function format_float($value) { function in feedback_item_numeric 220 return format_float($value, $decimal); 239 ': ' . $this->format_float($rangeto) . ')'; 243 ': ' . $this->format_float($rangefrom) . ')'; 248 return ' (' . $this->format_float($rangefrom) . 249 ' - ' . $this->format_float($rangeto) . ')'; [all …]
|
/dports/www/moodle310/moodle/grade/edit/tree/ |
H A D | category.php | 76 $category->grade_item_grademax = format_float($category->grade_item_grademax, $decimalpoints); 77 $category->grade_item_grademin = format_float($category->grade_item_grademin, $decimalpoints); 78 … $category->grade_item_gradepass = format_float($category->grade_item_gradepass, $decimalpoints); 79 $category->grade_item_multfactor = format_float($category->grade_item_multfactor, 4); 80 $category->grade_item_plusfactor = format_float($category->grade_item_plusfactor, 4); 81 …$category->grade_item_aggregationcoef2 = format_float($category->grade_item_aggregationcoef2 * 100… 88 … $category->grade_item_aggregationcoef = format_float($category->grade_item_aggregationcoef, 4);
|
H A D | item.php | 91 $item->grademax = format_float($item->grademax, $decimalpoints); 92 $item->grademin = format_float($item->grademin, $decimalpoints); 93 $item->gradepass = format_float($item->gradepass, $decimalpoints); 94 $item->multfactor = format_float($item->multfactor, 4); 95 $item->plusfactor = format_float($item->plusfactor, 4); 100 $item->aggregationcoef = format_float($item->aggregationcoef, 4); 103 $item->aggregationcoef2 = format_float($item->aggregationcoef2 * 100.0);
|
/dports/www/moodle311/moodle/grade/edit/tree/ |
H A D | category.php | 76 $category->grade_item_grademax = format_float($category->grade_item_grademax, $decimalpoints); 77 $category->grade_item_grademin = format_float($category->grade_item_grademin, $decimalpoints); 78 … $category->grade_item_gradepass = format_float($category->grade_item_gradepass, $decimalpoints); 79 $category->grade_item_multfactor = format_float($category->grade_item_multfactor, 4); 80 $category->grade_item_plusfactor = format_float($category->grade_item_plusfactor, 4); 81 …$category->grade_item_aggregationcoef2 = format_float($category->grade_item_aggregationcoef2 * 100… 88 … $category->grade_item_aggregationcoef = format_float($category->grade_item_aggregationcoef, 4);
|
H A D | item.php | 91 $item->grademax = format_float($item->grademax, $decimalpoints); 92 $item->grademin = format_float($item->grademin, $decimalpoints); 93 $item->gradepass = format_float($item->gradepass, $decimalpoints); 94 $item->multfactor = format_float($item->multfactor, 4); 95 $item->plusfactor = format_float($item->plusfactor, 4); 100 $item->aggregationcoef = format_float($item->aggregationcoef, 4); 103 $item->aggregationcoef2 = format_float($item->aggregationcoef2 * 100.0);
|
/dports/www/moodle310/moodle/completion/criteria/ |
H A D | completion_criteria_grade.php | 70 $mform->setDefault('criteria_grade_value', format_float($data, 5)); 74 $mform->setDefault('criteria_grade_value', format_float($this->gradepass, 5)); 149 $graderequired = format_float($this->gradepass, $decimalpoints); 177 $grade = format_float($grade, $decimalpoints); 254 $details['requirement'] = format_float($this->gradepass, $decimalpoints); 257 $grade = format_float($this->get_grade($completion), $decimalpoints);
|
/dports/www/moodle311/moodle/completion/criteria/ |
H A D | completion_criteria_grade.php | 70 $mform->setDefault('criteria_grade_value', format_float($data, 5)); 74 $mform->setDefault('criteria_grade_value', format_float($this->gradepass, 5)); 149 $graderequired = format_float($this->gradepass, $decimalpoints); 177 $grade = format_float($grade, $decimalpoints); 254 $details['requirement'] = format_float($this->gradepass, $decimalpoints); 257 $grade = format_float($this->get_grade($completion), $decimalpoints);
|
/dports/www/moodle39/moodle/completion/criteria/ |
H A D | completion_criteria_grade.php | 70 $mform->setDefault('criteria_grade_value', format_float($data, 5)); 74 $mform->setDefault('criteria_grade_value', format_float($this->gradepass, 5)); 149 $graderequired = format_float($this->gradepass, $decimalpoints); 177 $grade = format_float($grade, $decimalpoints); 254 $details['requirement'] = format_float($this->gradepass, $decimalpoints); 257 $grade = format_float($this->get_grade($completion), $decimalpoints);
|
/dports/sysutils/fluxengine/fluxengine-61ff48c/dep/fmt/ |
H A D | format.cc | 24 template FMT_API int internal::char_traits<char>::format_float( 27 template FMT_API int internal::char_traits<char>::format_float( 45 template FMT_API int internal::char_traits<wchar_t>::format_float( 48 template FMT_API int internal::char_traits<wchar_t>::format_float(
|
/dports/www/moodle310/moodle/lib/form/ |
H A D | float.php | 71 $value = $this->format_float($value); 77 $value = $this->format_float($value); 110 $value = $this->format_float($value); 176 private function format_float($value) { function in MoodleQuickForm_float 188 $pieces[0] = format_float($pieces[0], $decimals);
|
/dports/www/moodle39/moodle/lib/form/ |
H A D | float.php | 71 $value = $this->format_float($value); 77 $value = $this->format_float($value); 110 $value = $this->format_float($value); 176 private function format_float($value) { function in MoodleQuickForm_float 188 $pieces[0] = format_float($pieces[0], $decimals);
|
/dports/www/moodle311/moodle/lib/form/ |
H A D | float.php | 71 $value = $this->format_float($value); 77 $value = $this->format_float($value); 110 $value = $this->format_float($value); 176 private function format_float($value) { function in MoodleQuickForm_float 188 $pieces[0] = format_float($pieces[0], $decimals);
|
/dports/www/moodle39/moodle/grade/edit/tree/ |
H A D | item.php | 91 $item->grademax = format_float($item->grademax, $decimalpoints); 92 $item->grademin = format_float($item->grademin, $decimalpoints); 93 $item->gradepass = format_float($item->gradepass, $decimalpoints); 94 $item->multfactor = format_float($item->multfactor, 4); 95 $item->plusfactor = format_float($item->plusfactor, 4); 100 $item->aggregationcoef = format_float($item->aggregationcoef, 4); 103 $item->aggregationcoef2 = format_float($item->aggregationcoef2 * 100.0);
|
H A D | category.php | 75 $category->grade_item_grademax = format_float($category->grade_item_grademax, $decimalpoints); 76 $category->grade_item_grademin = format_float($category->grade_item_grademin, $decimalpoints); 77 … $category->grade_item_gradepass = format_float($category->grade_item_gradepass, $decimalpoints); 78 $category->grade_item_multfactor = format_float($category->grade_item_multfactor, 4); 79 $category->grade_item_plusfactor = format_float($category->grade_item_plusfactor, 4); 80 …$category->grade_item_aggregationcoef2 = format_float($category->grade_item_aggregationcoef2 * 100… 87 … $category->grade_item_aggregationcoef = format_float($category->grade_item_aggregationcoef, 4);
|
/dports/math/gap/gap-4.11.0/pkg/semigroups-3.2.3/libsemigroups/extern/fmt-5.3.0/src/ |
H A D | format.cc | 24 template FMT_API int internal::char_traits<char>::format_float( 27 template FMT_API int internal::char_traits<char>::format_float( 51 template FMT_API int internal::char_traits<wchar_t>::format_float( 54 template FMT_API int internal::char_traits<wchar_t>::format_float(
|
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/lib/fmt/src/ |
H A D | format.cc | 14 int format_float(char* buf, std::size_t size, const char* format, int precision, in format_float() function 35 detail::buffer<char>&) = detail::format_float; 62 template FMT_API int detail::format_float(double, int, detail::float_specs, 64 template FMT_API int detail::format_float(long double, int, detail::float_specs,
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/fmt/vtkfmt/src/ |
H A D | format.cc | 15 int format_float(char* buf, std::size_t size, const char* format, int precision, in format_float() function 36 detail::buffer<char>&) = detail::format_float; 63 template FMT_API int detail::format_float(double, int, detail::float_specs, 65 template FMT_API int detail::format_float(long double, int, detail::float_specs,
|
/dports/mail/rspamd-devel/rspamd-93430bb/contrib/fmt/src/ |
H A D | format.cc | 14 int format_float(char* buf, std::size_t size, const char* format, int precision, in format_float() function 35 detail::buffer<char>&) = detail::format_float; 62 template FMT_API int detail::format_float(double, int, detail::float_specs, 64 template FMT_API int detail::format_float(long double, int, detail::float_specs,
|
/dports/devel/libfmt/fmt-8.0.1/src/ |
H A D | format.cc | 14 int format_float(char* buf, std::size_t size, const char* format, int precision, in format_float() function 35 detail::buffer<char>&) = detail::format_float; 62 template FMT_API int detail::format_float(double, int, detail::float_specs, 64 template FMT_API int detail::format_float(long double, int, detail::float_specs,
|
/dports/devel/spdlog/spdlog-1.9.2/src/ |
H A D | fmt.cpp | 16 int format_float(char *buf, std::size_t size, const char *format, int precision, T value) in format_float() function 32 …ate_format_float)(double, int, detail::float_specs, detail::buffer<char> &) = detail::format_float; 54 template FMT_API int detail::format_float(double, int, detail::float_specs, detail::buffer<char> &); 55 template FMT_API int detail::format_float(long double, int, detail::float_specs, detail::buffer<cha…
|