PS: Keep in mind that A440 not necessarily is always true. When you program, please keep in mind, that one day, when your program should be able to do what you want it to do, users should be able to chose the pitch for non-standard A in decimal place steps.