我需要一个几乎先进的程序计算器? [英] i need to a program calculator almost advanced?

查看:69
本文介绍了我需要一个几乎先进的程序计算器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个程序计算器几乎先进?

在php?

解决方案

如果你将PHP用作其主要目的,网络编程,这将是不切实际的。由于性能问题。计算器已经存在,你不必做任何事情。它被称为JavaScript。只需添加一些文本区域并在其内容上调用JavaScript eval 函数?



示例?请看我如何使用它: http://sakryukov.org/freeware/calculator/ [ ^ ]。



- SA

i need to a program calculator almost advanced?
in php?

解决方案

If you use PHP for its major purpose, for Web programming, it will be impractical. Due to performance problems. The calculator already exists, you don''t have to do anything. It''s called "JavaScript". Just add some text area and call JavaScript eval function on its content?

Example? Please see how I use it: http://sakryukov.org/freeware/calculator/[^].

—SA


这篇关于我需要一个几乎先进的程序计算器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆