Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
ROUND2 Round to a specified number of decimals.
ROUND2(A) returns the same as ROUND(A).
ROUND2(A, 'even') returns the same as ROUND(A). Elements with
fractional part equal to 0.5 are rounded to even integers.
ROUND2(A, N) rounds the elements of A to decimals specified in N.
ROUND2(A, N,'even') rounds the elements of A to decimals specified
in N. Elements with 5 as the (N+1)-th digit after decimal are rounded
to even numbers.
See also: ROUND, FIX, FLOOR, CEIL, FIX2.
Citation pour cette source
Mukhtar Ullah (2026). ROUND2 (https://fr.mathworks.com/matlabcentral/fileexchange/6077-round2), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : Round to Specified Digits Place, Round to a Specified Number of Significant Digits, roundfrac
Informations générales
- Version 1.0.0.0 (758 octets)
-
Aucune licence
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0.0 | improvement and corrected description |
