Languages
[Edit]
EN

Math - milli- prefix

6 points
Created by:
Tehya-Blanchard
474

Milli- is a unit prefix used primarily with the metric system. The prefix denotes a factor of 10^−3 or 0.001. It is frequently used in programming and electronics for prefixing units of time and length.

Namemilli
Symbolm
Base 1010^−3
Science1e−3
Decimal0.001

To see all metric prefixes read this article.

 

 

Examples in programming

Programming language offers simple way to get current time in milliseconds (measured since 1970-01-01).

1. JavaScript example:

// ONLINE-RUNNER:browser;

const now = Date.now();

console.log(now);

2. Java example:

public class Program {

    public static void main(String[] args) {
         
        long now = System.currentTimeMillis();
        System.out.println(now);
    }
}

 

Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

Math - metric prefixes

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join