Skip to content

Conversation

@limingxinleo
Copy link
Contributor

No description provided.

}

return bcmul($res, '1', $columnDTO->getPrecision());
return bcmul($res, '1', $columnDTO->getDecimals());
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep decimal = scale
in php 7.3 => they fix bc that now correctly add missing 0 for scale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants