Skip to content

Commit 906c78f

Browse files
committed
Merge remote-tracking branch 'origin/release' into release
2 parents 3a3d45f + 4c03fe7 commit 906c78f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy/runtime/macros/Flat Plate PV/Subarray Layout Optimization.lk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ i = 0;
758758
for (gcr = min_gcr ; gcr <= max_gcr ; gcr = gcr + gcr_steps) {
759759
j = -1;
760760
str += '<tr>';
761-
str += '<th>GCR: ' + gcr + '</th>';
761+
str += '<th>GCR: ' + num_to_str( gcr , 3 ) + '</th>';
762762
for (tilt = min_tilt ; tilt <= max_tilt ; tilt = tilt + tilt_steps) {
763763
j = j + 1;
764764
if (annual_energy[i][j] == max_energy) str += '<td bgcolor = #00ff00>';
@@ -815,7 +815,7 @@ i = 0;
815815
for (gcr = min_gcr ; gcr <= max_gcr ; gcr = gcr + gcr_steps) {
816816
j = -1;
817817
str += '<tr>';
818-
str += '<th>GCR: ' + gcr + '</th>';
818+
str += '<th>GCR: ' + num_to_str( gcr , 3) + '</th>';
819819
for (tilt = min_tilt ; tilt <= max_tilt ; tilt = tilt + tilt_steps) {
820820
j = j + 1;
821821
if (npv[i][j] == max_npv) str += '<td bgcolor = #00ff00>';
@@ -870,7 +870,7 @@ i = 0;
870870
for (gcr = min_gcr ; gcr <= max_gcr ; gcr = gcr + gcr_steps) {
871871
j = -1;
872872
str += '<tr>';
873-
str += '<th>GCR: ' + gcr + '</th>';
873+
str += '<th>GCR: ' + num_to_str( gcr , 3) + '</th>';
874874
for (tilt = min_tilt ; tilt <= max_tilt ; tilt = tilt + tilt_steps) {
875875
j = j + 1;
876876
if (yield[i][j] == max_yield) str += '<td bgcolor = #00ff00>';

0 commit comments

Comments
 (0)