Template:Rounddown/doc

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

3.141
{{Rounddown/doc|0.123|3}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

0.123
{{Rounddown/doc|0.00032|3}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

0
{{Rounddown/doc|-0.123|3}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

-0.123
{{Rounddown/doc|-3.14159|3}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

-3.142
{{Rounddown/doc|0.31415|0}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

0
{{Rounddown/doc|0|0}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

0
{{Rounddown/doc|-0.31415|0}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

-1
{{Rounddown/doc|314159|-3}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

314000
{{Rounddown/doc|314.15|-3}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

0
{{Rounddown/doc|-314159|-3}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

-315000
{{Rounddown/doc|.875}}

This template rounds down a numeric value to a limited number of decimal places.

Usage

  • {{Rounddown/doc|value}}
  • {{Rounddown/doc|value|decimals}}
  • Both parameters can be any valid numeric expression; however, decimals should be an integer.
  • The decimals parameter defaults to 0.
  • decimals can be negative to round down to a multiple of a power of ten.
  • NAN may be returned if very large values are used.

Examples

Template Result Expected
{{Rounddown/doc|3.14159|3}} Template loop detected: Template:Rounddown/doc 3.141
{{Rounddown/doc|0.123|3}} Template loop detected: Template:Rounddown/doc 0.123
{{Rounddown/doc|0.00032|3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.123|3}} Template loop detected: Template:Rounddown/doc -0.123
{{Rounddown/doc|-3.14159|3}} Template loop detected: Template:Rounddown/doc -3.142
{{Rounddown/doc|0.31415|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|0|0}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-0.31415|0}} Template loop detected: Template:Rounddown/doc -1
{{Rounddown/doc|314159|-3}} Template loop detected: Template:Rounddown/doc 314000
{{Rounddown/doc|314.15|-3}} Template loop detected: Template:Rounddown/doc 0
{{Rounddown/doc|-314159|-3}} Template loop detected: Template:Rounddown/doc -315000
{{Rounddown/doc|.875}} Template loop detected: Template:Rounddown/doc 0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also

ar:قالب:تقريب أدنى is:Snið:Rounddown it:Arrotonda nl:Sjabloon:Round tl:Template:Pagpapababa vi:Tiêu bản:Truncint ro:Format:Rotunjire-minus ru:Шаблон:Rounddown zh:Template:Rounddown

0

Note

  • You should use the parserfunction {{#expr:floor value}} rather than {{Rounddown/doc|value}} or {{Rounddown/doc|value|0}}. This template should only be used when rounding down to some number of decimal places other than zero.

See also