Skip to content

Commit 8659956

Browse files
committed
Fixed earnings format
1 parent 40399a8 commit 8659956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Records/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function toLine()
110110
$line .= self::RECORD_TYPE;
111111
$line .= Stringy::create((string) $this->getFilmsQty())->padLeft(2, '0');
112112
$line .= Stringy::create((string) $this->getTicketsQty())->padLeft(5, '0');
113-
$line .= Stringy::create((string) $this->getEarnings())->padLeft(8, '0');
113+
$line .= Stringy::create(number_format($this->getEarnings(), 2, '.', ''))->padLeft(8, '0');
114114
$line .= Stringy::create('')->padRight(55, ' ');
115115

116116
return $line;

0 commit comments

Comments
 (0)