ഫലകം:Rounddown

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
[തിരുത്തുക] [പുതുക്കുക] ഫലകത്തിന്റെ വിവരണം

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

Usage[തിരുത്തുക]

  • {{Rounddown|value}}
  • {{Rounddown|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|3.14159|3}} 3.141 3.141
{{Rounddown|0.123|3}} 0.123 0.123
{{Rounddown|0.00032|3}} 0 0
{{Rounddown|-0.123|3}} -0.123 -0.123
{{Rounddown|-3.14159|3}} -3.142 -3.142
{{Rounddown|0.31415|0}} 0 0
{{Rounddown|0|0}} 0 0
{{Rounddown|-0.31415|0}} -1 -1
{{Rounddown|314159|-3}} 314000 314000
{{Rounddown|314.15|-3}} 0 0
{{Rounddown|-314159|-3}} -315000 -315000
{{Rounddown|.875}} 0 0

Note[തിരുത്തുക]

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

See also[തിരുത്തുക]

"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Rounddown&oldid=1388729" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്
https://ml.wikipedia.org/wiki/%E0%B4%AB%E0%B4%B2%E0%B4%95%E0%B4%82:Rounddown
ml.wikipedia.org
CC-MAIN-2023-06
78723
application/http; msgtype=response
sha1:ZJBQBWZCWUPDDXNZ7KHYHSLKFL6CVSRA
<urn:uuid:58205f9e-cb23-4808-85ea-3dc721e8a087>
2023-02-05T04:40:57Z
208.80.154.224
text/html
sha1:T34VY5VCSNL5NHOEIIBPQCEGSQEKIO2Q
<urn:uuid:82393152-1c8c-4fea-9ef9-e662b7bd189a>
https://ml.wikipedia.org/wiki/%E0%B4%AB%E0%B4%B2%E0%B4%95%E0%B4%82:Rounddown
response
<urn:uuid:c8daa036-688a-4d2c-96a7-3c49a25ba55e>
isPartOf: CC-MAIN-2023-06
publisher: Common Crawl
description: Wide crawl of the web for January/February 2023
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-177
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.4-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/