Skip to content

Commit

Permalink
edit acronym
Browse files Browse the repository at this point in the history
  • Loading branch information
Tynab committed Oct 16, 2022
1 parent 9e116fa commit 8079fd1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Mitsubishi Block/Script/Common.vb
Original file line number Diff line number Diff line change
Expand Up @@ -143,21 +143,21 @@ Friend Module Common
End If
Next
' Process
Dim c = Ceiling((w + h) * 2 / Pow(10, 3))
Dim p = Ceiling((w + h) * 2 / Pow(10, 3))
Dim s = Ceiling(w * h / Pow(10, 6))
Dim block = c + s
Dim block = p + s
For i = 10 To Integer.MaxValue
If (block + i) Mod 30 = 0 Then
block += i
Exit For
End If
Next
' Output
Dim fmt = FmtNo(w, h, c, s, block)
Dim fmt = FmtNo(w, h, p, s, block)
Intro()
HxSty(vbTab & "W (mm)" & vbTab & vbTab & ": " + String.Format(fmt, w) & vbCrLf)
HxSty(vbTab & "H (mm)" & vbTab & vbTab & ": " + String.Format(fmt, h) & vbCrLf)
RsltSty(vbTab & " (m)" & vbTab & vbTab & ": " + String.Format(fmt, c) & vbCrLf)
RsltSty(vbTab & " (m)" & vbTab & vbTab & ": " + String.Format(fmt, p) & vbCrLf)
RsltSty(vbTab & "S (m²)" & vbTab & vbTab & ": " + String.Format(fmt, s) & vbCrLf)
RsltSty(vbTab & "ブロック (個)" & vbTab & ": " + String.Format(fmt, block) & vbCrLf)
Credit()
Expand Down

0 comments on commit 8079fd1

Please sign in to comment.