Created
May 7, 2014 17:50
-
-
Save GLitchfield/f023f15f0ca3121bf5ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.barchart.util.value.impl; | |
import com.barchart.util.value.ValueFactoryImpl; | |
import com.barchart.util.value.api.Price; | |
import com.barchart.util.value.api.ValueFactory; | |
public class TestTest { | |
public static final ValueFactory vals = ValueFactoryImpl.instance; | |
public static void main(final String[] args) { | |
final Price price = vals.newPrice(123456, -4); | |
vals.newPrice(1235, -2); | |
price.round(2); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment