Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

金额类型问题 #1

Closed
maiqingqiang opened this issue Apr 12, 2020 · 1 comment
Closed

金额类型问题 #1

maiqingqiang opened this issue Apr 12, 2020 · 1 comment

Comments

@maiqingqiang
Copy link

maiqingqiang commented Apr 12, 2020

$table->unsignedDouble('amount', 2)->default(0.00);

这里用double不会有精度问题?

@overtrue
Copy link
Owner

先别着急使用哈,这还是草稿阶段

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

No branches or pull requests

2 participants