java - Implement a decimal from a String into a Stack
问题描述
I'm coding a calculator with a GUI in Java. I read out the string and save the numbers and operations into 2 stacks. My problem is: How can I read out decimals like 5.6 or 5.625 and save them into 1 stack?
thanks for help
Joe
解决方案
deleted the content deleted the content
推荐阅读
- reactjs - 在我的 Todo ReactApp 中,我使用的是通量。使用 useEffect 我添加了一个监听器,但是当 Todostore 更新页面时不会重新呈现。为什么不?
- javascript - textarea 的 quill 文本编辑器无法与 bootstrap 一起正常工作
- sql - 将 UTF-8 文本文件中的 varchar 插入 MSSQL 表
- spring-boot - 如何使用 Embedded MQ 为 IBM MQ 编写测试用例?
- python - 在 Python 中使用可变数量的图像填充列表
- azure - 有没有办法更改逻辑应用默认时区?
- python-3.x - 问:如何修复 pyzbar 中缺少的依赖项
- visual-studio-code - 在 VS Code 中,我可以使用快捷方式或命令更改拆分编辑器面板的宽度吗?
- bash - 它是一种在 bash 中禁用功能并强制执行内置函数的方法吗
- ios - 为 iOS 10.0 构建 iOS 应用,但 Testflight 声称它需要 iOS 12.1