수익률 계산 Edit Diff Refresh Backlink Random Search History Help Setting Hide Show Perl sub returns { my $buy = $_[0]; my $now = $_[1]; # (현재가 - 구입가) / 구입가 * 100 - 세금 return sprintf("%.3f", ($now - $buy) / $buy * 100 - 0.315); } 이 글에는 0 개의 댓글이 있습니다. Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus