Java Number Convert convertToMm(double value)

Here you can find the source of convertToMm(double value)

Description

convert To Mm

License

LGPL

Declaration

public static int convertToMm(double value) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

import java.math.BigDecimal;

public class Main {
    public static int convertToMm(double value) {
        return BigDecimal.valueOf(value).multiply(BigDecimal.TEN).intValue();
    }/*from  ww w .  ja  va2s .  co m*/
}

Related

  1. convertToInchesOfMercury(double altimeterSetting, String unit)
  2. convertToJBPM(Object value)
  3. convertToKg(int value)
  4. convertToLong(String decimal, int precision)
  5. ConvertToMeters(double distance)
  6. convertToMoney(float money)
  7. getMoneyConversion(int money, int divisor)
  8. numToBytes(byte[] buffer, long value)
  9. numToBytes(byte[] buffer, long value, int radix)