platypus
Class DumpValue

java.lang.Object
  extended by platypus.DumpValue

public class DumpValue
extends java.lang.Object

Series of static functions that dump a value to a string, so that it can be printed by the various [dump:..] commands

Author:
alb

Constructor Summary
DumpValue()
           
 
Method Summary
static java.lang.String pointsFormatted(float floatValue)
          Format a floating-point value to a string with at most 1 decimal point
static java.lang.String pointsToInches(float points)
          returns a string with text of points converted to inches with corresponding text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpValue

public DumpValue()
Method Detail

pointsToInches

public static java.lang.String pointsToInches(float points)
returns a string with text of points converted to inches with corresponding text

Parameters:
points - the points to be converted to inches
Returns:
the string

pointsFormatted

public static java.lang.String pointsFormatted(float floatValue)
Format a floating-point value to a string with at most 1 decimal point

Parameters:
floatValue - the value to convert
Returns:
the resulting string


Copyright © 2006-7 Pacific Data Works LLC