class VAT implements ValueObject {

    public double toDouble() {
        return percentage / 100d;
    }

}

class VATTest {

    @Test
    public void toDouble_returnedAsFraction() {

        assertThat(new VAT(24).toDouble()).isEqualTo(0.24);
    }

}