Hi,
This shows Shohei Ohtani's innings pitched. Using S(Starter:list:innings pitched[-1]) shows 37.4 which is a straight sum of innings pitched. However, .4 innings in not really a baseball thing. We really want to convert to outs, in this case, 115, then divide by 3 and convert the remainder to .0, .1, or .2 which should give 38.1 instead of 37.4.
Is this something that can be addressed at some point?
date,starter,Starter:sum:innings pitched as 'innings pitched',(int(Starter:list:innings pitched[-1])*3+int((Starter:list:innings pitched[-1] %1)*10)) as outs,S(Starter:list:innings pitched[-1]) as 'total IP',S((int(Starter:list:innings pitched[-1])*3+int((Starter:list:innings pitched[-1] %1)*10))) as 'total outs'@starter and starter='Shohei Ohtani' and season=2022