Kanji Calculator / JavaScript 漢数字電卓

screenshot of Kanji Calculator

Kanji Calculator

Ever wondered how Japanese vertical writing system treats numerical representation? Here's an answer for you, Kanji Calculator, a sort of www application software which combines an ordinary desktop calculator and traditional calligraph representation on a piece of beautiful Japanese letter pad.

You just punch numbers and operators as you do on your desktop calculator and voila! You get beautiful Japanese handwriting on a piece of paper on the right side of the page.

Click here to try using this calculator

Requirements

This calculator works on Microsoft Internet Explorer 6 (comes with Windows XP) Plus, if Japanese fontset has been properly installed on your PC, you will be able to get plain Japanese text under the calculator (see above screenshot)

Disclaimer

This calculator uses the binary system to calculate, not decimal. Therefore sometimes the result has mathematical error. For example, 1.05 - 1 is not 0.05 but 0.050000000000000044. I am working on it, and will fix it soon.

漢数字電卓

左手の電卓で普通に計算すると、右手の便箋に漢字と仮名で打った数式が表示 されます。それだけです。Windows XPのInternet Explorer 6で動作確認して ます。Netscape7.1でも一応動くはずです。

ここをクリックして漢数字電卓をお試しください

計算結果に誤差があるので注意してください。例えば、一.〇五 引く 一 は 〇.〇五〇〇〇〇〇〇〇〇〇〇〇〇〇〇四四 となります。

Licence

/*
 * Kanji Calculator - Desktop calculator with Japanese calligraphic charactors
 * Copyright (c) 2004 by Kazuhiro Ishii
 * http://www.apollostar.com/k-ishii/KanjiCal.html
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
 * 
 */

http://www.gnu.org/licenses/gpl.html