Here you can find the source of formatTSYS(double tsys)
Parameter | Description |
---|---|
tsys | the TSYS value. |
public static String formatTSYS(double tsys)
//package com.java2s; //License from project: LGPL import java.text.DecimalFormat; public class Main { /** Formatter for double precision as Kelvins */ private static DecimalFormat dtok = new DecimalFormat("###.####"); /**/*w w w. j a v a 2s. c om*/ * Format a TSYS value for display. * * @param tsys the TSYS value. * @return the TSYS value formatted as a string for Kelvins. */ public static String formatTSYS(double tsys) { return dtok.format(tsys); } }