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

如何去除數字前的單引號? #26

Open
mbdmt opened this issue Sep 2, 2022 · 1 comment
Open

如何去除數字前的單引號? #26

mbdmt opened this issue Sep 2, 2022 · 1 comment

Comments

@mbdmt
Copy link

mbdmt commented Sep 2, 2022

因為export之後自動加了單引號 就算指定數字
不能加總處理
如何能指定某欄位去除單引號 如不能指定 全刪除的方式也可以
謝謝

@mbdmt
Copy link
Author

mbdmt commented Sep 2, 2022

暫時在rows迴圈用指定浮點型態 輸出有變純數字
$row['totalcost'] = floatval($row['totalcost']);

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

1 participant