Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1024607 // ffmpeg_parseTimestamp

JavaX fragment (include)

1  
static double ffmpeg_parseTimestamp(S s) {
2  
  LS l = splitAt_withEmptyLast(s, ":");
3  
  double d = 0;
4  
  for i over l:
5  
    d = d*60+parseDouble(l.get(i));
6  
  ret d;
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024607
Snippet name: ffmpeg_parseTimestamp
Eternal ID of this version: #1024607/1
Text MD5: c4744b337feed77e137bbb57cf62b242
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-19 21:29:02
Source code size: 167 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 206 / 236
Referenced in: [show references]