package DX::Value::Number;

use DX::Class;

with 'DX::Role::Value';

has number_value => (is => 'ro', required => 1);

sub to_data { 0+$_[0]->number_value }

1;
