Unify coordinates in example scripts

This commit is contained in:
Gergely Polonkai 2014-11-04 16:17:59 +01:00
parent 121357e863
commit 9b47d216e3
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ timestamp.set_gregorian_full(1983, 3, 7, 11, 54, 45, 0, 1);
var moment = new Swe.Moment(); var moment = new Swe.Moment();
moment.add_all_planets(); moment.add_all_planets();
moment.set_timestamp(timestamp); moment.set_timestamp(timestamp);
moment.set_coordinates(19.03990999, 47.49801000, 280); moment.set_coordinates(19.03991, 47.49801, 280);
moment.set_house_system(Swe.HouseSystem.PLACIDUS); moment.set_house_system(Swe.HouseSystem.PLACIDUS);
var all_planets = moment.get_all_planets() var all_planets = moment.get_all_planets()

View File

@ -19,7 +19,7 @@ $timestamp->set_gregorian_full(1983, 3, 7, 11, 54, 45, 0, 1);
my $moment = SweGlib::Moment->new(); my $moment = SweGlib::Moment->new();
$moment->set_timestamp($timestamp); $moment->set_timestamp($timestamp);
$moment->set_coordinates(19.0390999, 47.49801000, 280); $moment->set_coordinates(19.03991, 47.49801, 280);
$moment->set_house_system("placidus"); $moment->set_house_system("placidus");
$moment->add_all_planets(); $moment->add_all_planets();

View File

@ -9,7 +9,7 @@ timestamp.set_gregorian_full(1983, 3, 7, 11, 54, 45, 0, 1)
moment = SweGlib.Moment() moment = SweGlib.Moment()
moment.set_timestamp(timestamp) moment.set_timestamp(timestamp)
moment.set_coordinates(19.03990999, 47.49801000, 280) moment.set_coordinates(19.03991, 47.49801, 280)
moment.set_house_system(SweGlib.HouseSystem.PLACIDUS) moment.set_house_system(SweGlib.HouseSystem.PLACIDUS)
moment.add_all_planets() moment.add_all_planets()