public function registerAssets()
{
$view = $this->getView();
MaskMoneyAsset::register($view);
$id = 'jQuery("#' . $this->_displayOptions['id'] . '")';
$idSave = 'jQuery("#' . $this->options['id'] . '")';
$plugin = $this->_pluginName;
$this->registerPlugin($plugin, $id);
$js = <<<JS
var val = parseFloat({$idSave}.val()) * 100;
{$id}.{$plugin}('mask', val);
{$id}.on('change', function () {
var numDecimal = {$id}.{$plugin}('unmasked')[0];
{$idSave}.val(numDecimal);
{$idSave}.trigger('change');
});
JS;
$view->registerJs($js);
}