Changeset 53035 for trunk/src/wp-includes/functions.php
- Timestamp:
- 03/31/2022 08:15:30 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r53020 r53035 8412 8412 8413 8413 /** 8414 * Check if two numbers are nearly the same.8414 * Checks if two numbers are nearly the same. 8415 8415 * 8416 8416 * This is similar to using `round()` but the precision is more fine-grained. … … 8421 8421 * @param int|float $actual The actual number. 8422 8422 * @param int|float $precision The allowed variation. 8423 * @return bool Whether the numbers match w hithin the specified precision.8423 * @return bool Whether the numbers match within the specified precision. 8424 8424 */ 8425 8425 function wp_fuzzy_number_match( $expected, $actual, $precision = 1 ) {
Note: See TracChangeset
for help on using the changeset viewer.